An open API service indexing awesome lists of open source software.

https://github.com/rwson/angular-study

angularjs学习
https://github.com/rwson/angular-study

Last synced: 5 months ago
JSON representation

angularjs学习

Awesome Lists containing this project

README

          

#angularjs

angularjs1.x和angularjs2的学习笔记

./angular:angular1.x的学习笔记

./angular2:angular2的学习笔记

其中,运行angular2下的文件时,应该首先在命令行切换到该目录,先安装[TypeScript](http://www.typescriptlang.org/),再运行,关于TypeScript基本语法,可以查看本人另一个repo([TypeScript](https://github.com/rwson/TypeScript))

npm install -g typescript

等待TypeScript安装完成,再执行

npm install

等所有模块安装完成后,运行

npm start

会自动把编写好的TypeScript文件编译成JavaScript文件,访问 http://localhost:3000 就是运行的效果了。