Created
June 24, 2014 04:30
-
-
Save ktsosno/e3892de42a32aaa0d7a0 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
'use strict'; | |
var app = angular.module('myApp', []); | |
app.controller('myCtrl', function($scope){ | |
$scope.logResult = function(){ | |
console.log($scope.input); | |
} | |
}); | |
<div ng-controller='myCtrl'> | |
<div> | |
<input type="text" ng-model="input.weird" id="inputField" fill-input ng-keyup="logResult()" /> | |
</div> | |
</div> | |
Enter your name: <input type="text" ng-model="name" value=heysdf></input> | |
<p>Hello heysdf!</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment