This package is designed for those systems that can not use Bower, etc. And as an alternative to - https://github.com/francoispluchino/composer-asset-plugin
Symfony2 bundled & composer packaged
https://github.com/sunra/angularjs-symfony2-bundle
AngularJS
- 1.3.16
- 1.4.1
lib | ver | github |
---|---|---|
angular-local-storage | master | https://github.com/grevory/angular-local-storage |
begriffs/angular-paginate-anything | master | https://github.com/begriffs/angular-paginate-anything |
jirikavi/AngularJS-Toaster | master | https://github.com/jirikavi/AngularJS-Toaster |
angular-ui/bootstrap | gh-pages | https://github.com/angular-ui/bootstrap/tree/gh-pages |
Animate.css | https://github.com/daneden/animate.css |
- Add to composer.json into "require" section
"sunra/angularjs-symfony2-bundle": "dev-master"
and run
composer.phar update
- Add to app/AppKernel.php
new Sunra\AngularBundle\SunraAngularBundle()
- run :
app/console assets:install
<script src="{{ asset('bundles/sunraangular/js/angular/angular-1.4.1/angular.min.js') }}"></script>
<script src="{{ asset('bundles/sunraangular/js/thirdparty/bindonce/bindonce.js') }}"></script>
<script src="{{ asset('bundles/sunraangular/js/thirdparty/angular-local-storage/angular-local-storage.js') }}"></script>
<script src="{{ asset('bundles/sunraangular/js/thirdparty/angular-ui/bootstrap/bootstrap-gh-pages/ui-bootstrap-0.11.0.min.js') }}"></script>