jeudi 18 avril 2013

Navigation in AngularJS

I continue my exploration of AngularJS, and this time on the navigation part.
To do that, I wrote a little application, to show how to:
  • use $routeProvider to handle the navigation by creating new routes with the necessary parameters to construct the view which will be render by ng-view.
  • navigate from a html link
  • navigate from a html button