The use of Angularjs time is not very long, understanding is not thorough enough, but for beginners can still help point.
1. callback function ..... --and remember that it's asynchronous, and there's an inexplicable problem remember to check
2. Memory leaks ..... --many possibilities, this is still to be researched, I encountered the situation is to write a return value in the Ng-repeat function, and then he kept going to call this function, resulting in memory leaks, should write a ng-init= "function" before ng-repeat , and then put the return value into a scope scope variable, ng-repeat= "This variable", so it is resolved.
3. $http ... ---> is asynchronously transmitted via AJAX after the result into $scope, he automatically triggered a $apply () dirty check, and $.ajax need you to manually trigger.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Common errors in Angularjs