<!doctypehtml>
<htmlng-app="dynamicTemplate">
<head>
<scriptsrc="jslib/angular.js"></script>
<scripttype="text/javascript">
angular.module(‘dynamicTemplate‘,[]).controller(‘PhoneListCtrl‘,function($scope){
$scope.pho..
分类:
编程语言 时间:
2015-05-16 01:39:09
阅读次数:
328
AngularJS版本:AngularJSv1.4.0-rc.1<!doctypehtml>
<htmlng-app="dynamicTemplate">
<head>
<scriptsrc="jslib/angular.js"></script>
<scripttype="text/javascript">
angular.module(‘dynamicTemplate‘,[]).controller(‘PhoneListCt..
分类:
Web程序 时间:
2015-05-15 18:01:45
阅读次数:
127
简介AngularJS 是一个为动态WEB应用设计的结构框架,提供给大家一种新的开发应用方式,这种方式可以让你扩展HTML的语法,以弥补在构建动态WEB应用时静态文本的不足,从而在web应用程序中使用HTML声明动态内容。AngularJS有五个主要核心特性,如下介绍:1.双向数据绑定 —— 实现了...
分类:
Web程序 时间:
2015-05-15 12:02:39
阅读次数:
200
API即Application Programming Interface(应用程序接口)。AngularJS全局API AngularJS全局API是一组全局JavaScript函数,用来进行一些常用的操作,例如:比较两个对象迭代对象进行数据格式转换 全局API函数可以通过angular对...
In AngularJS 1.3.x, using $locationProvider.html5Mode(ture), will cause a Error:$location:nobase error.angular.module('app', ['ngResource', 'ngRoute']...
分类:
Web程序 时间:
2015-05-15 06:34:40
阅读次数:
629
Free Angular JS Themes and Templateshttp://startangular.com/10+ Best Responsive HTML5 AngularJS Templates in 2014 http://www.responsivemiracle.com/col...
分类:
其他好文 时间:
2015-05-14 23:48:10
阅读次数:
194
angular 动态设置blob链接给 ng-href时遇到unsafe 解决方案
分类:
Web程序 时间:
2015-05-14 13:37:32
阅读次数:
384
angular 默认情况下 的安全协议 是 ?https?|ftp|mailto| ? 当我们使用blob 对象去产生url时,需要设定blob为安全协议 var?app?=?angular.module(?‘myApp‘,?[]?).config(?[
????‘$compileProvider‘,...
分类:
Web程序 时间:
2015-05-14 12:21:11
阅读次数:
250
使用js压缩工具时发现压缩之后的控制器注入参数由原来的$scope变成了a,b...这样的字母而导致js失效,那么我们推荐使用完整的显示注入方式来解决此问题!//隐式注入的写法angular.module('xxx', []).controller('xxx1',function($scope){....
分类:
Web程序 时间:
2015-05-14 07:30:10
阅读次数:
204
我们项目里用到angularjs 对应的包,没有ng-keypress\ng-keydown。
所以,我们自己写一些指令。
首先在,项目模块对应的module.js中写指令
define([
‘angular’,
‘angular-couch-potato’,
‘angular-ui-router’,
‘angular-resource’
], functio...
分类:
Web程序 时间:
2015-05-13 19:51:27
阅读次数:
320