https://github.com/cjsaylor/angular-workshop
Angular tutorial for a workshop setting.
https://github.com/cjsaylor/angular-workshop
angular1 javascript tutorial
Last synced: 15 days ago
JSON representation
Angular tutorial for a workshop setting.
- Host: GitHub
- URL: https://github.com/cjsaylor/angular-workshop
- Owner: cjsaylor
- Archived: true
- Created: 2015-01-09T20:58:32.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-01-31T21:27:02.000Z (almost 11 years ago)
- Last Synced: 2024-09-28T17:23:04.781Z (over 1 year ago)
- Topics: angular1, javascript, tutorial
- Language: JavaScript
- Homepage: https://www.chris-saylor.com/angular-workshop
- Size: 584 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Workshop
This repo holds the content needed for learning the basics of angular.
The `/start` subdirectory is the application before any dynamic content is added. This
is meant for the student to begin with and add angular code/markup.
Each step directory will contain overview information and a list of tasks to complete. The solution to the tasks
are available in those directories.
## Dependencies
Since this is meant to be done in a workshop environment where internet connectivity is not guaranteed,
all dependencies are committed into the `/lib` subdirectory.
The app itself is meant to run without any internet requirement.
* `angular.js` - v1.3.8 (unminified)
* `angular-route.js` - v1.3.8 (unminified)
* `bootstrap.min.css` - v3.3
## Running on local file system
In order for any of the `$http` service calls to work, you will need to open Chrome with the `--allow-file-access-from-files` flag enabled:
* Mac
```
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files
```
* Linux
```
google-chrome --allow-file-access-from-files
```
* Windows
```
chrome.exe --allow-file-access-from-files
```
### Self hosting
There are some scripting languages that support a local webserver in place of running the browser in an unsecure fashion:
* PHP 5.4+
```bash
php -S localhost:4000
```
* Python
```bash
python -m SimpleHTTPServer
```
## Offline Package
[Complete offline package](https://github.com/cjsaylor/angular-workshop/releases/latest)
Included:
* Nodejs (OSX, Linux, Windows)
* Workshop files and assets
* Angular docs (v1.3.8)