<!DOCTYPE html>
<html ng-app='test'>
<head>
<meta charset="utf-8">
<title>angular</title>
<script src='bower_components/angular/angular.js'>
</script>
<script>
var app=angular.module('test',[]);
app.controller('con1',function($scope,$http){
$scope.a='asdFsfsXW'
$scope.b='SWEeFAcFFS'
})
</script>
</head>
<body ng-controller='con1'>
{{a|uppercase}}
<p>{{b|lowercase}}</p>
<!-- ASDFSFSXW
sweefacffs -->
</body>
</html>
网友评论