AngularJs

Angular | Watch an object or an array
3/17/2015

Angular | Watch an object or an array

  $scope.$watch(‘objectOrArray’,function(newVal, oldVal){ // Do Something },true);  

AngularJS problem : Links cant load page from server but uses ng-route
12/12/2014

AngularJS problem : Links cant load page from server but uses ng-route

If you are using ng-route and want to load the page from your server you need to add target=”_self” to your anchor tag. Example: <a href=”my/page” target=”_self”>LINK</a>

© 2024 Anil Maharjan