User Tools

Site Tools


angularjs:angularjs_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
angularjs:angularjs_tutorial [2015/06/25 12:24] – [Startup] mithatangularjs:angularjs_tutorial [2015/06/25 12:25] – [Startup] mithat
Line 39: Line 39:
 <code javascript>var app = angular.module('RoutingDemoApp', []);</code> <code javascript>var app = angular.module('RoutingDemoApp', []);</code>
  
-The second parameter (in this example an empty array) is not optional: it's where additional modules (i.e., dependencies) that your app module will use are specified. You'll almost certainly want to put this JS in a separate file.+The second parameter (in this example an empty array) is not optional: it's where additional modules (i.e., dependencies) that your app module will use are specified. You'll almost certainly want to put this JS in a separate file, say, ''app.js''.
  
 The resulting not-doing-anything-interesting-yet files might look like: The resulting not-doing-anything-interesting-yet files might look like:
angularjs/angularjs_tutorial.txt · Last modified: 2015/06/25 12:30 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki