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

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

This package is auto-updated.

Last update: 2024-12-14 04:51:49 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

  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>