// var app = angular.module('app', []); var app = angular.module('app', ['ui.router', 'restangular']); app.controller('mainCtrl', ["$scope", function() { console.log('123'); }]);