Created
May 15, 2014 09:10
-
-
Save lacolaco/8d529d958eddd9dd26c8 to your computer and use it in GitHub Desktop.
webstorm8.0.2 ng-model bug??
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
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script src="bower_components/angular/angular.min.js"></script> | |
<script> | |
var main = angular.module("app", []); | |
main.controller("mainCtrl", function ($scope) { | |
$scope.inputText = ""; | |
}) | |
</script> | |
</head> | |
<body ng-controller="mainCtrl"> | |
<label>Input text: | |
<textarea ng-model="inputText"></textarea> | |
</label> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment