Skip to content

Instantly share code, notes, and snippets.

@sergibondarenko
Created August 29, 2017 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergibondarenko/9c995b4cab2de5d48905bac51c929155 to your computer and use it in GitHub Desktop.
Save sergibondarenko/9c995b4cab2de5d48905bac51c929155 to your computer and use it in GitHub Desktop.
import app from '../app';
var injectParams = ['$scope', '$state', 'authService','$rootScope','$uibModal', 'userProfile'];
var LoginController = function ($scope,$state, authService, $rootScope, $uibModal, userProfile) {
var path = '/';
...
...
...
};
LoginController.$inject = injectParams;
app.register.controller('loginController', LoginController);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment