In this blog post we look at how to use the angularjs ui router library. This is not the $routeProvider service which comes with angularjs but rather an external and more powerful library for routing.
AngularJS has a directive “ng-repeat” which is very widely used. ng-repeat is used in almost every application but if not used properly can cause various performance issues.
In this post we will look into the compile and link functions of angular directives. Angular directives are very powerful if used properly. Compile and Link are basic directive functions which need to be understood properly to use angular directives efficiently.
AngularJS provide three useful services which it uses internally., $compile, $parse, $interpolate. These service are mainly used to evaluate expression and rendering UI.