in your controllers you want to GET your module and not SET it, so in
your three controllers change
var app = angular.module('app', ['ngRoute'] );
to
var app = angular.module('app');
On 2014.04.28. 19:18, Yusuf Alii wrote:
I'm new to Angularjs and have been learning about routing.
I created a test application for routing but somehow it doesn't works!
I have thoroughly checked all the official documentation and tried
different combinations but not been able to make it work yet
Here is the code: http://plnkr.co/edit/msjFJfKPq5xm588RJjNP
someone please help!
Thanks in advance
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
--
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.