https://github.com/ricardocanelas/angularjs-typescript-sample-app
Simple example using AngularJS (1.5.2) and TypeScript (1.8.9)
https://github.com/ricardocanelas/angularjs-typescript-sample-app
angular1
Last synced: 11 months ago
JSON representation
Simple example using AngularJS (1.5.2) and TypeScript (1.8.9)
- Host: GitHub
- URL: https://github.com/ricardocanelas/angularjs-typescript-sample-app
- Owner: ricardocanelas
- License: mit
- Created: 2016-03-26T12:28:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T14:16:16.000Z (over 6 years ago)
- Last Synced: 2024-10-11T08:41:22.411Z (over 1 year ago)
- Topics: angular1
- Language: TypeScript
- Size: 83 KB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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

## 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
- on OSX install [home brew](http://brew.sh/) and type `brew install node`
- on Windows install [download](https://nodejs.org/en/download/)
- 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](http://ricardocanelas.com)