码迷,mamicode.com
首页 >  
搜索关键字:angular    ( 5418个结果)
[Angular 2] Using ng-model for two-way binding
Two-way binding still exists in Angular 2 and ng-model makes it simple. The syntax is a combination of the [input] and (output) syntax to represent th
分类:其他好文   时间:2016-03-21 07:02:54    阅读次数:127
[Angular 2] Injecting a Service
Using Services in Angular 2 is very simple. This lesson covers how to create a simple class as a Service then set it up so that you can use it across
分类:其他好文   时间:2016-03-20 07:01:52    阅读次数:160
[Angular 2] Using events and refs
This lesson shows you how set listen for click events using the (click) syntax. It also covers getting values off of an input using the #ref syntax th
分类:其他好文   时间:2016-03-18 21:45:46    阅读次数:160
创建/删除软链接
前端项目创建软链接 hrm-client htdoc在同一目录 1. 进入htdoc 2. ln -s ../hrm-client/ ./hrm 删除软链接 hrm-client htdoc在同一目录 1. 进入htdoc 2. rm -rf ../hrm-client/ ./hrm angular
分类:其他好文   时间:2016-03-18 19:50:34    阅读次数:125
如何使用angular 实现jquery选择器功能
$event和angular.element实现jquery选择器功能
分类:Web程序   时间:2016-03-18 19:43:03    阅读次数:783
[Angular 2] WebStorm - Managing Imports
Some tips for import libaray by using webstorm: // Alt + Enter --> Auto Import // Ctrl + Alt + o --> Optimize import //Ctrl + space --> Auto completio
分类:Web程序   时间:2016-03-18 17:25:24    阅读次数:283
Angular.js中的指令——易懂全解析
angular.js中,指令是最基础的也是最重要的工具之一。angular.js指令指的是以ng为前缀的HTML属性。在之前的ng-app、ng-model等,都属于指令。 angular.js中的基本指令包括如下内容: · 1.ng-app/ng-model ng-app指令用于声明angular,js的作用范围,ng-model用于声明模型。这些在之前都已经进行过详细介绍。 2.ng-...
分类:Web程序   时间:2016-03-18 16:13:23    阅读次数:170
Angular ng-include 学习实例
ng-include 可以引入外部的文件到当前视图中。这样可以增强复用性。 最简单的用法 <div ng-include src="'/public/template/tpl.html'"></div> 这样直接把tpl.html加载当前视图中了。 我们还可以使用如下定义个模板。id是模板名。如这里
分类:其他好文   时间:2016-03-18 00:28:05    阅读次数:170
[AngularJS] Angular 1.5 multiple transclude
If you know ui-router, multi-transclude should be easy for you also. In previou Angular version <1.4, one diretive can only have one transclude elemen
分类:Web程序   时间:2016-03-17 07:04:57    阅读次数:203
ASP.NET Core和Angular 2双剑合璧
(此文章同时发表在本人微信公众号“dotNET每日精华文章”,欢迎右边二维码来关注。) 题记:两个还没有正式发布的东西一起用,是什么效果? 效果当然会很好了(我猜的),那么如何在ASP.NET Core中集成Angular 2呢?Nicolas Bello Camilletti的一篇文章就给大家分享...
分类:Web程序   时间:2016-03-17 02:02:14    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!