AngularJS
module defines the application. Which wraps up all different components of the
application like controllers, directives etc. The controllers always belong to
a module.
<div ng-app="myApp">...</div>
<script>
var app = angular.module("myApp", []);
</script>
</script>
No comments:
Post a Comment