Thank You. I used earlier version without the $ but just did not work Unfortunately is not working in the real project. Maybe problem in the Puth parameter of $routeProvider.when? Script have dinamical puth of the page (http://admin/index.php?route=module/module&token=83f8659cc897741fca2d60e4f7704fc5), maybe $routeProvider.when('/',... wrong?
Now return Error: [$injector:unpr] Unknown provider: varsProvider <- vars вторник, 1 апреля 2014 г., 10:47:00 UTC+4 пользователь Sander Elias написал: > > Hi, > > I moved your code to a plunker and made a working example out of it. > (plunker has the benefit of having 'files') > > http://plnkr.co/edit/k2Nu8YaYkO5o1pTq67Og?p=preview > > I think your main mistake was renaming the revolve variable vars to $vars > when injecting to the controller. > > Regards > Sander > -- 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.
