Sample application using Angular 1.x with Typescript, Gulp and bower.
For fun I used Visual Studio Code, as the code editor.
- Gulp example
- Bower as Package Manager
- TypeScript Workflow
- SASS Workflow
- Sourcemaps for both SASS/TypeScript working
- AngularJS with TypeScript inc.
- UI Routing
- Basic Navigation
- All out TypeScript (not hybrid)
- ngAnnotate (for auto-injection)
- Logger
- From the project folder execute
npm install
- To run the app, execute the following command:
gulp watch
- Browse to http://localhost:9000/ to see the app. You can make changes in the code found under src/app or assets/styles and the browser should auto-refresh itself as you save files.
- Make sure you have NodeJS, Bower and git installed.
- Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
- Ensure that Bower is installed. If you need to install it, use the following command:
npm install -g bower