Next to creating controllers and directives, AngularJS also supports “singleton” services. Services, like on the server-side, offer a great way for separating logic from your controllers. In AngularJS anything that’s either a primitive type, function or object can be a service. Although the concept of service is quite straight forward, the declaration of them in AngularJS isn’t:
How to create (singleton) AngularJS services in 4 different ways
Safe-guarding AngularJS scopes with ECMAScript 5 "Strict Mode"
Adding custom HTML attributes to your AngularJS web app
- “ngView”: defines the placeholder for rending views
- “ngModel”: binds scope properties to “input”, “select” and “text” elements
- “ngShow” / “ngDisabled”: for showing or disabling an element based on the result of an expressions