Created
January 13, 2017 03:44
-
-
Save uglow/c744ac610b32582fa59275ee6c17c5b9 to your computer and use it in GitHub Desktop.
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
export default class MyComponent { | |
constructor($http, $timeout, $location) { ... } | |
lookupAddress() { | |
$http(...).then(() => { | |
$location.url('somewhere'); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment