diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-08-05 17:59:26 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-08-05 17:59:26 -0400 |
| commit | 10f5788d747d2f96027c0591fe332b74f9b9aac7 (patch) | |
| tree | 1f0162ff7fd69338eba5eea78cc09fc1f5affd33 /www/lib/angular/README.md | |
| parent | 67b5040175a6c282be515dfb61e30540f22d0333 (diff) | |
Timeline feature (Experimental)
Diffstat (limited to 'www/lib/angular/README.md')
| -rw-r--r-- | www/lib/angular/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/lib/angular/README.md b/www/lib/angular/README.md index d1bc0edd..897fb7f0 100644 --- a/www/lib/angular/README.md +++ b/www/lib/angular/README.md @@ -20,7 +20,10 @@ Then add a `<script>` to your `index.html`: <script src="/node_modules/angular/angular.js"></script> ``` -Or `require('angular')` from your code. +Note that this package is not in CommonJS format, so doing `require('angular')` will return `undefined`. +If you're using [Browserify](https://github.com/substack/node-browserify), you can use +[exposify](https://github.com/thlorenz/exposify) to have `require('angular')` return the `angular` +global. ### bower @@ -43,7 +46,7 @@ Documentation is available on the The MIT License -Copyright (c) 2010-2015 Google, Inc. http://angularjs.org +Copyright (c) 2010-2012 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal |
