dev-master
9999999-dev https://bitbucket.org/guilleferrer/angularjsbundleSymfony2 bundle for Angular js integration
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle >=2.0.0
javascript symfony angular.js
Symfony2 bundle for Angular js integration
The angularjs bundle provides a basic template for an angular project and loads the assets requried by the www.angularjs.org project, (*1)
Make your template to, (*2)
{% extends 'UdfAngularJSBundle::angular_base.html.twig' %}
For your project and you'll have a bootstraped version with the main assets for your Angular project, (*3)
To configure just add :, (*4)
// AppKernel.php new Udf\AngularJSBundle\UdfAngularJSBundle() ````
// Edit your composer.json and add this line in the "require" object "guilleferrer/angularjsbundle" :"dev-master", (*5)
This bundle FORCES you to have a MainCtrl function in javascript, that belongs to the the <body> tag : ```` <body ng-controller="MainCtrl"> ... </body>
Symfony2 bundle for Angular js integration
MIT
javascript symfony angular.js