前言 之前在這篇介紹過 <ng-content> 可以達成嵌入式設計,但是透過這種方法只能做到模板的部分,也就是在 A 模板中嵌入 B 模板,要是想...
Introduction We take great advantage of better UX and performance in SPA (Sing...
建立專案 上回我們已經說明如何建立一個專案,而這次我們用經典的 Todo List (備忘錄) 來做說明 ionic start TODOApp blank -...
Every day may not be good, but there's something good in every day. 昨天我們知道如何讀取...
前言 Angular 2.3 最近發布,而最有特色的部分莫過於組件繼承 (Component Inheritance) 的部分了。如同類別可以繼承一般,組件繼承...
前言 我們在電腦上用 ionic serve 測試好我們的 App 之後,最後仍然需要拿到實際裝置上測試,不僅是因為到時候本來就是要給手機使用的,並且很多的 N...
前言 一個小網站,客群可能很單一,在台灣也許只要網站只要有中文就好了。可是隨著服務擴大,客群也跟著變大,可能產品進軍亞洲,甚至拓展到全球,這時候至少會提供英文介...
每日一句來源:Daily English Put your heart, mind, and soul into even your smallest act...
Introduction The article will show how to use ngFor, ngModel and enum to create...
Progress is impossible without change, and those who cannot chanage their minds...
接續 Angular 2 Module ( 1 ) Feature Module Angular 一定會有一個 root module,但你也可以有 featu...
Introduction In the previous practice, we had successfully created an Angular2...
Never let the demands of tomorrow interfere with the pleasures and excitement o...
組件裡的 URLs 絕對路徑 組件常常會要使用外部模板跟風格的檔案,我們在 templateUrl 和 styleUrls 特性中用 URL 定義這些檔案,就像...
每日一句來源:Daily English The only limit to our realization of tomorrow will be our...
Life is a journey, not a destination. Hosting firebase有提供我們靜態檔案hosting的功能,讓我們的...
讀取(Read) Be strong, believe in who you are; be strong, believe in what you fele...
Cloud Firestore is a NoSQL, document-oriented database. Unlike a SQL database,...
Introduction I will use ngrx/store to implement a shopping cart example from m...
每日一句來源:Daily English No matter what label is thrown you way, only you can defin...
The past can hurt. But from the way I see it, you can either run from it, or le...
前言 前一篇已經說過為甚麼多語言的網站很重要,也示範了如何達到多語言的效果。但是,我們對於語言翻譯的需求還有很多,例如我如果想要讓一串句子每次搭配不同的變數怎麼...
每日一句來源:Daily English A great secret of success is to go through life as a man w...
每日一句來源:Daily English Goals are not only absolutely necessary to motivate us. Th...
Before you read From Day 5, I will start integrate Angular2 into ASP.NET Core...
Introduction Before we go farther, I want to talk about the logging and use t...
每日一句來源:Daily English A pessimist sees the difficulty in every opportunity; an o...
Introduction ngrx/store is a state management container and powers Redux for A...
每日一句來源:Daily English There is nothing noble in being superior to some other man...
Introduction Since Angular2 doesn't have $compile equivalent, we could use Comp...