I am new to Angularjs and have started reading the book.
I have no possibility to inistall Nodejs so can't actually install the
sample application shipped with "Mastering Web Application Dev with
AngularJS" the index.html is as follows
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<link rel="stylesheet" type="text/css" href="/static/<%=
grunt.config.get('pkg.name') %>.css"/>
<script type="text/javascript" src="/static/jquery.js"></script>
<script type="text/javascript" src="/static/angular.js"></script>
<script type="text/javascript" src="/static/mongolab.js"></script>
<script type="text/javascript" src="/static/bootstrap.js"></script>
<script type="text/javascript" src="/static/<%=
grunt.config.get('pkg.name') %>.js"></script>
</head>
<body ng-controller="AppCtrl">
<div ng-include="'header.tpl.html'"></div>
<div ng-include="'notifications.tpl.html'" class="container-fluid"
ng-show="notifications.getCurrent().length"></div>
<div ng-view class="container-fluid"></div>
</body>
</html>
I would like to ask how all the controllers, services etc will be
dynamically loaded? and is there a possibility to load all dependencies
without including it in index.html as script tag?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.