sunra/angularjs-symfony2-bundle

AngularJS and set of usefull thirdparty libs - composer packaged and in symfony2 bundle

Installs: 3 831

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 3

Forks: 4

Open Issues: 0

Language:HTML

Type:symfony-bundle

v1.5.5 2016-05-20 20:04 UTC

This package is auto-updated.

Last update: 2024-03-14 03:13:03 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

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

Installation

  1. Add to composer.json into "require" section
"sunra/angularjs-symfony2-bundle": "dev-master"

and run

composer.phar update
  1. Add to app/AppKernel.php
new Sunra\AngularBundle\SunraAngularBundle()
  1. 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>