angular
文章平均质量分 72
nathan_Shao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AngularJS-1-helloworld
JS:姓:名:Hello姓:輸出姓名var xing = document.getElementById("xingInput");var ming = document.getElementById("mingInpiut“);var showButton = document.getElementById("showButton");showButt原创 2017-07-04 22:08:40 · 250 阅读 · 0 评论 -
AngularJS-2-语法
一、数字和字符串:{{AccountId +" "+ AccountName+" "+Location}}{{AccountId}}{{AccountName}}{{Location}}二、日期和时间{{Now}}var app = angular.module("lesson",[]) app.controller("l原创 2017-07-04 22:29:50 · 231 阅读 · 0 评论 -
AngularJS-3-数据绑定
一、组合绑定 div ng-app="myApp" ng-controller="personCtrl">名: inputtype="text" ng-model="firstName">br>姓: inputtype="text" ng-model="lastName">br>br>姓名:{{fullName()}}div>script>var原创 2017-07-04 23:12:54 · 244 阅读 · 0 评论 -
AngularJS-4-循环绑定
一、绑定姓名年龄星座工作年限{{x.Name}}{{x.Age}}{{x.Constellation}}{{x.WorkYear}}var app = angular.module("lesson",[]);app.controller("lesson4",function($scope){$scope.UserEntityList=原创 2017-07-04 23:42:10 · 345 阅读 · 0 评论 -
AngularJS-5-事件绑定
一、举例ID姓名年龄星座工作年限操作{{$index+1}}{{x.Name}}{{x.Age}}{{x.Constellation}}{{x.WorkYear}}删除js“>var app = angular.module("lesson",[]);app.controller("lesson4",function($scope){原创 2017-07-05 00:34:08 · 742 阅读 · 0 评论 -
AngularJS-6-控制器
一、定义2个控制器{{Name}}{{Name}}js“>var app = angular.module("lesson",[]);app.controller("Ctrl1",function($scope){$scope.Name="控制器1";})app.controller("Ctrl2",function($sco原创 2017-07-05 00:54:21 · 231 阅读 · 0 评论 -
AngularJS-7-表单
表单用户名:请输入用户名---------------------------------------------------------------------------用户名:请输入用户名请输入8到18位用户名/span>------------------------------------------------------原创 2017-07-05 22:17:26 · 413 阅读 · 0 评论 -
AngularJS-8-模块
指令var app = angular.module("lesson",[]);app.controller("MainCtrl",function($scope){})app.directive("div",function(){var direction = {};direction.restrict = "E";direction.template原创 2017-07-06 00:17:07 · 374 阅读 · 0 评论
分享