UNPKG
omnifilter
Version:
latest (1.3.4)
1.3.4
1.2.4
1.2.3
1.2.2
1.1.2
1.0.2
1.0.1
1.0.0
"Awesome filters applied to personal images"
github.com/ocgears/omnifilter
ocgears/omnifilter
omnifilter
/
app
/
js
/
auth
/
controllers
/
signin_controller.js
11 lines
(10 loc)
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
module
.exports =
function
(app)
{ app.controller(
'SigninController'
, [
'$scope'
,
'userAuth'
,
'$location'
,
function
($scope, auth, $location)
{ $scope.submit =
function
(user)
{ auth.signIn(user,
function
()
{ $scope.updateEmail(); $location.
path
(
'/home'
); }); }; }]); };