Simple example using AngularJS (1.5.2) and TypeScript (1.8.9)
JavaScript TypeScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app First Commit Mar 26, 2016
.bowerrc First Commit Mar 26, 2016
.gitignore First Commit Mar 26, 2016
LICENSE Initial commit Mar 26, 2016
NOTE.md First Commit Mar 26, 2016
README.md Update README.md Mar 26, 2016
bower.json First Commit Mar 26, 2016
screen.png First Commit Mar 26, 2016
typings.json First Commit Mar 26, 2016

README.md

AngularJS-TypeScript-Sample-App

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

alt tag

Quick Start

First you need install Node and Live-Server.

$ cd app
$ live-server

Requirements

Node, Bower, TypeScript, Typing and Live-Server.

Installation

  • Install Node

  • Install Bower

    • Type npm install -g bower
  • Install TypeScript

    • Type npm install -g typescript
  • Install Typings

    • Type npm install -g typings
  • Install Live-Server

    • Type npm install -g live-server

##### Install packages of the Bower. This command will install: Angular, Angular-Material and others packages, you can see more details in *bower.json* file. ``` $ bower install ```
##### Install TypeScript definitions.
$ typings install angular --ambient --save
$ typings install angular-material --ambient --save

Usage

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

License

MIT © Ricardo Canelas