Using $urlRouterProvider in Plunker

19 views
Skip to first unread message

Brian McCullough

unread,
Sep 22, 2015, 11:17:22 AM9/22/15
to AngularJS
Being brand new to AngularJS, I have been trying to find help in solving an issue that I am having.

Before I was able to get assistance, I was asked to put my problem into Plunker.

However, the code that I have inherited, and am trying to extend, uses $urlRouterProvider.  Unfortunately, that doesn't seem to work in any way that I have tried in Plunker.

I have tried copying the Plunker URL into the $urlRouterProvider "default" parameter, but nothing seems to work to get to my Controller.


Any suggestions?

Thanks,
Brian

Armando Couto - Gmail

unread,
Sep 22, 2015, 11:46:59 AM9/22/15
to ang...@googlegroups.com
What is the example?

--
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 angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.



--
Att
Armando Couto 
CSM - LKU

Brian McCullough

unread,
Sep 23, 2015, 6:24:19 AM9/23/15
to AngularJS


On Tuesday, 22 September 2015 11:46:59 UTC-4, Armando Couto wrote:
What is the example?

I apologize, Armando.  I thought of that before I hit "Post," but forgot to do so.


You can see two of my attempts in app.config().


This also contains my "real" problem, but we can talk about that after it is running.


Thank you,
Brian

Sander Elias

unread,
Sep 23, 2015, 9:10:28 AM9/23/15
to AngularJS
Hi Brian,

You need to link in your dependencies to. You can't use ui-router if it's not loaded rigth? 
So you must include some script tags to load the needed depencies from their CDN's

Regards
Sander
Reply all
Reply to author
Forward
0 new messages