Skip to content

Instantly share code, notes, and snippets.

View lamba's full-sized avatar

Puneet Lamba lamba

View GitHub Profile
angular
.module('...', [...])
...
.controller('SomeController', ['$scope', '$location', LoggedInUser])
.factory('Util', Util);
function Util($scope, $location, LoggedInUser) {
console.log('logout');
return {
logout: function() {