Idkn if I did it right :) But I can see in dashboard new section , with the 2 tabs showing the content i need.
in statistics.html I've added the angular controller:
var visitorsData;
function StatsController($scope, $http) {
$scope.firstName = "John",
$scope.lastName = "Doe",
$scope.TEST = "fdfsdf",
};
and I can "render" my scope variables in html using {{firstname}}.
I did the same for second Tab that points to - browsers.html
but on this page angular doesn't work , also any other script i put there doesn't work.
I put alert on load , this never happens.
Where can I read how to do it properly ? Thanks, maybe someone can explain short tips why this happens :)
What does the content of your views look like? Perhaps there is a typo or you missed a reference somewhere. Please share all of your code - that will make it easier to help you out.
Umbraco dashboard Angular js problem.
Hello community. I am new to umbraco , and currently fighting for all day with the following issue: I've added to dashboard custom section.
Here is dashboard.config
Idkn if I did it right :) But I can see in dashboard new section , with the 2 tabs showing the content i need.
in statistics.html I've added the angular controller:
and I can "render" my scope variables in html using {{firstname}}.
I did the same for second Tab that points to - browsers.html but on this page angular doesn't work , also any other script i put there doesn't work. I put alert on load , this never happens.
Where can I read how to do it properly ? Thanks, maybe someone can explain short tips why this happens :)
Thanks.
Hi Juan
What does the content of your views look like? Perhaps there is a typo or you missed a reference somewhere. Please share all of your code - that will make it easier to help you out.
Some pages that are worth bookmarking when it comes to Umbraco and angularjs are http://umbraco.github.io/Belle/#/api and https://github.com/umbraco/AngularWorkbook btw.
/Jan
is working on a reply...