Posted On: Feb 22, 2018
Multiple controllers can be used in a single html page, provided they all belong to the same module. There are two ways we can have multiple controllers in a single html page, either by defining singular controllers or by defining controllers inside controllers i.e. nesting controllers. A controller can have a child controller as well as a parent controller.The child controller can access all the parent scope properties.
Never Miss an Articles from us.
AngularJS is a javascript framework which helps in developing web applications in MVC architectural pattern & SPA or..
Angular directives are the attributes which are decorated on the html tags or elements of an html page. Directives have ..
Angular provides the ability to create our own directives to implement our own custom templates or logic in our web appl..