Thursday, 9 March 2017

What is modules in AngularJS and How to create them ?


Module is a container for different parts of application :
  • Controllers : A JS function to build a model for the view
  • Services
  • Directives
  • Filters

CREATE A MODULE
var app = angular.module("module1", []);




No comments:

Post a Comment

Note: only a member of this blog may post a comment.