This is a simple example using AngularJS (1.5.2) and TypeScript (1.8.9). You can see online: http//www.ricardocanelas.com/lab/angularjs-typescript-sample-app
First you need install Node and Live-Server.
$ cd app
$ live-server
Node, Bower, TypeScript, Typing and Live-Server.
-
Install Node
-
Install Bower
- Type
npm install -g bower
- Type
-
Install TypeScript
- Type
npm install -g typescript
- Type
-
Install Typings
- Type
npm install -g typings
- Type
-
Install Live-Server
- Type
npm install -g live-server
- Type
This command will install: Angular, Angular-Material and others packages, you can see more details in bower.json file.
$ bower install
$ typings install angular --ambient --save
$ typings install angular-material --ambient --save
This command will watching TypeScript files. You can config in tsconfig.json file
$ cd app/src
$ tsc -w
This command will create a new server, but what change inside this folder will refresh the browser.
$ cd app
$ live-server
MIT © Ricardo Canelas