applying best practices for AngularJS
Enforcing code standards