随笔分类 -  AngularJS

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要:Require those libs:var jade = require('gulp-jade'),browserify = require('gulp-browserify'),uglify = require('gulp-uglify'),gulpif = require('gulp-if')... 阅读全文
posted @ 2015-07-31 13:29 Zhentiw 编辑
摘要:Copy file:gulp.task('copy-image', function() { gulp.src('./public/images/**/*').pipe(gulp.dest('./build/assets/images'));});gulp.task('copy-app-js'... 阅读全文
posted @ 2015-07-29 19:51 Zhentiw 编辑
摘要:In this lesson, we will learn how tasks work in Gulp. We will talk about how to define a task and what each parameter in the definition does. We will ... 阅读全文
posted @ 2015-07-29 19:22 Zhentiw 编辑
摘要:We will have accomplished a few goals, the first goal being that changes to our source files will automatically be detected and a new build will be ki... 阅读全文
posted @ 2015-07-29 17:18 Zhentiw 编辑
摘要:Leaking logic in controllers is not an option, filters are a way to refactor your code and are compatible with ng-if and ng-show. Admin div ... 阅读全文
posted @ 2015-06-25 03:59 Zhentiw 编辑
摘要:1. Install ionic2. Create ionic appionic start myApp tabs //create a appcd myAppionic serve // open the webgoto /#/tab/account // go to one state3. ... 阅读全文
posted @ 2015-06-14 23:27 Zhentiw 编辑
摘要:Integrating D3 with Angular can be very simple. In this lesson, you will learn basic integration as well as how to create D3 charts that can be packag... 阅读全文
posted @ 2015-06-07 22:48 Zhentiw 编辑
摘要:Extending types is one of the ways that makes angular-formly help you keep your Angular forms DRY. When use responsibly, they can make it much easier 阅读全文
posted @ 2015-05-21 02:20 Zhentiw 编辑
摘要:In AngularJS 1.3.x, using $locationProvider.html5Mode(ture), will cause a Error:$location:nobase error.angular.module('app', ['ngResource', 'ngRoute']... 阅读全文
posted @ 2015-05-15 02:19 Zhentiw 编辑
摘要:angular-formly allows you to keep your forms as DRY as possible. TheoptionsTypesproperty is one way of composing your field configurations to keep you... 阅读全文
posted @ 2015-05-13 03:50 Zhentiw 编辑
摘要:Angular's $cacheFactory can be used on its own or to customize the behavior of $http calls. This lesson introduces the API and shows how to integrate ... 阅读全文
posted @ 2015-05-12 01:20 Zhentiw 编辑
摘要:angular-formly provides a very simple API to dynamically change properties of your field (like disabled, hidden, and required) using the powerful expr... 阅读全文
posted @ 2015-05-07 03:13 Zhentiw 编辑
摘要:direictives/index.js:module.exports = function(ngModule) { //register all the directives here require('./hello')(ngModule);};directives/hello.js... 阅读全文
posted @ 2015-04-13 03:20 Zhentiw 编辑
摘要:1. Install webpack & angular:npm install webpack angular2. Create webpack.config.js file:module.exports = { context: __dirname + '/app', entry: ... 阅读全文
posted @ 2015-04-13 02:49 Zhentiw 编辑
摘要:It is best to start your application's localization effortsearlyin development, even if you only support one language initially. Libraries like angula... 阅读全文
posted @ 2015-03-28 23:40 Zhentiw 编辑
摘要:ng-html2js takes .html templates and converts them into strings stored in AngularJS's template cache. This allows you to bundle all of your templates ... 阅读全文
posted @ 2015-03-19 21:10 Zhentiw 编辑
摘要:Angular Formly Lesson angular-formly: Introduction Egghead.io lesson by @kentcdodds ... 阅读全文
posted @ 2015-03-17 22:19 Zhentiw 编辑
摘要:Refering to:https://www.codeschool.com/blog/2015/03/06/digging-advanced-angularjs-directives/ 阅读全文
posted @ 2015-03-10 16:18 Zhentiw 编辑
摘要:Make It WorkUsing the included external library,SlabText, create a wrapper directivenwSlabTextso that we can use it in theNoteWranglerapp.Create a lin... 阅读全文
posted @ 2015-03-09 04:56 Zhentiw 编辑
摘要:Filter All the ThingsLet's start cleaning up our notes tweeted page using filters.On the notes tweeted page, within thetweeted.htmltemplate, usefilter... 阅读全文
posted @ 2015-03-09 04:21 Zhentiw 编辑

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
点击右上角即可分享
微信分享提示