Created
September 23, 2014 21:07
-
-
Save bmakarand2009/e5f57b30d17a54feec02 to your computer and use it in GitHub Desktop.
AngularJS JSON Debugging
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
/* Angular Controller */ | |
Application.controller('TestCtrl',['$scope','$rootScope'function ($scope,$rootScope) { | |
$scope.userProfile | |
} | |
/* HTML5 Side */ | |
<div ng-controller='TestCtrl'> | |
<pre {{userProfile | json}}> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment