new loginDialog()
Methods
-
(static) cancel()
-
called when user clicks on the cancel button, closes dialog
-
(static) submit(_email, _password)
-
called when user clicks on the submit button, sends email and password use: mario.rossi@example.com Passw0rd!
Parameters:
Name Type Description _emailstring email is userid _passwordstring the password
Type Definitions
-
LoginCtrl($scope, $modalInstance)
-
Controller for the login dialog
Parameters:
Name Type Description $scopeservice the current scope $modalInstanceservice the instance of the modal dialogs for the login