-
-
Save alexmiddeleer/3a434c527d9c870aa551 to your computer and use it in GitHub Desktop.
Angular Stackoverflow snippet skeleton app
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
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script> | |
<div ng-app="testApp"> | |
<div ng-controller="test-controller"> | |
{{foo}}{{bar}} | |
</div> | |
</div> |
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
'use strict'; | |
angular.module('testApp', []) | |
.controller('test-controller', function($scope){ | |
$scope.foo = "hello "; | |
$scope.bar = "world"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment