ngController (directive)

Improve this Doc View Source ngController

  1. directive in module ng

The ngController directive attaches a controller class to the view. This is a key aspect of how angular supports the principles behind the Model-View-Controller design pattern.

MVC components in angular: