(function(){ 'use strict'; angular.module('ammicoAuth',['ngRoute']) .config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'auth/auth.html', controller: 'authCtrl' }); }) .controller('authCtrl', function(){ }); })();