I'm using uglify to minify my angular files. Where do I use the $inject method in my app.js file?
(function(){ var myApp = angular.module('myApp',['ngRoute']); myApp.config(function ($routeProvider){ $routeProvider .when('/', { controller: 'HotelsController', templateUrl: 'js/views/hotels.html' }) .when('/hotel/:hotelId', { controller: 'HotelController', templateUrl: 'js/views/hotel.html' }) .otherwise({ redirectTo: '/' }); }) })();