Modified Angular Dependency Injection

Changed the way dependency injection is done in application Angular JS
code to allow the code to be minified