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
angularjs:angularjs_tutorial [2015/06/25 12:29] – [Preparing index.html] mithatangularjs:angularjs_tutorial [2015/06/25 12:30] (current) – [Specifying routes] mithat
Line 117: Line 117:
 ==== Specifying routes ==== ==== Specifying routes ====
  
-You next need to tell the your app instance that it should use the ''ngRoute'' routing module using the second parameter to ''angular.module'', and you need to define some routes. This yields the following ''app.js'', wherein I have specified exactly one route:+You next need to tell the your app instance that uses the ''ngRoute'' routing module by specifying it in the second parameter of ''angular.module''. You also need to define some routes. This yields the following ''app.js'', wherein I have specified exactly one route:
  
 <file javascript app.js> <file javascript app.js>
angularjs/angularjs_tutorial.1435235361.txt.gz · Last modified: 2015/06/25 12:29 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki