Nobody can me help?

Em sábado, 24 de janeiro de 2015 23:01:00 UTC-2, Leonan Luppi escreveu:
>
> Hello everybody,
>
> I really don`t know why my routes does not work. Look:
>
> I have a simple dir like:
>
> build/
>> ...app/
>> ....../app.js
>> .../templates/
>> ....../dashboard/
>> ........./dashboard.html
>
>
> When i use: 
>
> angular.module("Proposal.Dashboard").config(configRouter);
>>
>>
>>>     function configRouter($routeProvider) {
>>
>>         $routeProvider.when("/", {
>>
>>             controller: "DashboardController",
>>
>>             templateUrl: "../templates/dashboard/dashboard.html",
>>
>>             controllerAs: "dashboardVm"
>>
>>         })
>>
>>     }
>>
>>
> It should works. But does not, somebody has an ideia? 
>

-- 
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