Created
May 13, 2016 15:06
-
-
Save zouhenry/d105a5fa5f04ca12a63187a3f9de78f6 to your computer and use it in GitHub Desktop.
Angular code snippets
This file contains hidden or 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
//getting service from console | |
var $http = angular.element('body').injector().get('$http') | |
$http.get("api/v1/auth/status401") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment