Skip to content

ricardocanelas/angularjs-typescript-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple example using AngularJS (1.5.2) and TypeScript (1.8.9)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published