Angular

Angular | Watch an object or an array

Angular | Watch an object or an array

9 years ago, March 17, 2015

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

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

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

9 years ago, December 12, 2014

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