You usually do that in the app.js file

var app = angular.module('app', ['ngRoute'] ); in app js

then you can do 

app.config

app.controller etc through out the entire application

On Monday, April 28, 2014 1:18:43 PM UTC-4, 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].
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