Created
January 13, 2015 19:30
-
-
Save kfiil/80637535f0e53bc8a060 to your computer and use it in GitHub Desktop.
AngularJS kursus, templates og ng-include
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
<div id="task-users" class="panel panel-default" ng-include="'/Angular-App/projektweb3/task-details/partial-templates/users.tpl.html'"></div> | |
<html ng-app> | |
<!-- Body tag augmented with ngController directive --> | |
<body ng-controller="MyController"> | |
<input ng-model="foo" value="bar"> | |
<!-- Button tag with ng-click directive, and string expression 'buttonText' wrapped in "{{ }}" markup --> | |
<button ng-click="changeFoo()">{{buttonText}}</button> | |
<script src="angular.js"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment