I'm new to programming and I'm trying to built my first simple website but 
I'd like to use some Angular.js.
So when I click a button on the navbar I'd like the view and the controller 
to change. The way I understood it from the Codecademy course I could 
use app.config(function($routeProvider){...}) and depending on what's added 
to the Url the view and controller changes (but the navbar doesn't).
That way I define a clear link between a Url and content. But where's the 
link between the navbar button and the Url? How do I bind these two?  

-- 
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/d/optout.

Reply via email to