sunra / angularjs-symfony2-bundle
AngularJS and set of usefull thirdparty libs - composer packaged and in symfony2 bundle
Installs: 3 847
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 4
Open Issues: 0
Language:HTML
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: 2.*|~3.0
This package is auto-updated.
Last update: 2024-11-14 04:37:42 UTC
README
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
AngularJS and set of usefull thirdparty libs
Symfony2 bundled & composer packaged
https://github.com/sunra/angularjs-symfony2-bundle
Contents
AngularJS
- 1.3.16
- 1.4.1
Thirdparty
Installation
- 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
Usage
<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>