Created
November 2, 2012 00:10
-
-
Save nsanta/3997772 to your computer and use it in GitHub Desktop.
angular timeline blog post gists three
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#app is the variable that contains the module “AwesomeApp” | |
app.controller ‘SessionCtrl’, ($scope, $location, Session) → | |
$scope.login = → | |
Session.save $scope.session , (response) → | |
$location.path “/dashboard” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment