2017 © Pedro Peláez
 

symfony-bundle angularjsbundle

Symfony2 bundle for AngularJS integration

image

rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  • Saturday, March 1, 2014
  • by rogerclotet
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

AngularJS Bundle

This bundle provides a base template for an AngularJS + Symfony2 project. It includes the AngularJS assets and loads them by default., (*1)

If you need a more extensible and configurable option check this other project: https://github.com/danidelalin/UndfAngularJsBundle, (*2)

AngularJS

Current version: 1.2.0-rc3, (*3)

Modules included: * angular-loader * angular-route * angular-cookies * angular-sanitize * angular-resource, (*4)

Usage

To use the template you just need to extend yours this way:, (*5)

{% extends 'TSAngularJSBundle::angular_base.html.twig' %}

To configure just add in AppKernel.php:, (*6)

$bundles = array(
    // ...
    new TS\AngularJSBundle\UdfAngularJSBundle(),
)
````

Edit your composer.json and add this line in the "require" object:
```json
{
    "require": {
        "rogerclotet/angularjsbundle": "1.0.*"
    }
}

And you should add this bundle in assetic configuration in your app/config/config.yml:, (*7)

assetic:
    bundles: [ TSAngularJSBundle ]

By default the AngularJS app and main controller are "myApp" and "MainCtrl". You can change their name by modifying the blocks "appname" and "maincontrollername"., (*8)

The Versions

01/03 2014

dev-version/cdn

dev-version/cdn https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

01/03 2014

dev-master

9999999-dev https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

01/03 2014

1.0.4

1.0.4.0 https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

01/03 2014

dev-develop

dev-develop https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

27/01 2014

1.0.3

1.0.3.0 https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

01/11 2013

1.0.2

1.0.2.0 https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js

01/11 2013

1.0.1

1.0.1.0 https://github.com/rogerclotet/angularjsbundle

Symfony2 bundle for AngularJS integration

  Sources   Download

MIT

The Requires

 

by Roger Clotet

javascript symfony angular.js