摘要:
var app = angular.module('Mywind',['ui.router']); app.controller('Myautumn',function($scope,$http,$filter){ //$http跨域 //服务端设置 // 访问权限 response.setHead 阅读全文
摘要:
var app = angular.module('Mywind',['ui.router']) app.controller('Myautumn',function($scope,$http,$filter){ var objs =[{a:1},{a:2}]; angular.forEach(ob 阅读全文
摘要:
var app = angular.module('Mywind',['ui.router']) app.controller('Myautumn',function($scope,$http,$filter){ //angular Cookie写 //用法 :$scioe.addCookie("姓 阅读全文
摘要:
var app = angular.module('Mywind',['ui.router']) //Angular 监听路由变化 function run($ionicPlatform, $location, Service, $rootScope, $stateParams) { //路由监听事 阅读全文
摘要:
//angular 白名单全局通用 app.config([ '$compileProvider', function ($compileProvider) { $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|itms-service 阅读全文
摘要:
<div class="nav"> <h4>表单验证</h4> <form ng-app="myApp" name="myForm" novalidate> <p>用户名:<br> <input type="text" name="user" ng-model="user" ng-minlength 阅读全文
摘要:
<div ng-init="now=0;" class="nav"> <h4>选项卡</h4> <div > <input type="button" value="Tab1" class="{{now==0?'active':''}}" ng-click="now=0"> <input type= 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文