PHPackages                             piga/angular - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. piga/angular

ActiveLibrary

piga/angular
============

v1.0.0(10y ago)019PHP

Since Jun 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/piotr-galas/Angular)[ Packagist](https://packagist.org/packages/piga/angular)[ RSS](/packages/piga-angular/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Angular Bundle
==============

[](#angular-bundle)

### Idea

[](#idea)

This bundle integrate angular with symfony. The idea is create easy bundle without any magic. Bundle consist of one controller one view and little configuration. Bundle use bower as js dependency manager. The idea is create symfony action in normal way, but have access to angular in all of views.

### What bundle do?

[](#what-bundle-do)

- Add angular files to base layout
- Allow you to use oneReload page with symfony routing
- Allow you to use Angular in twig which is rendering by symfony controller

instalation
===========

[](#instalation)

- Download PigaAngularBundle using composer
- Enable the Bundle and RelatedBundle
- Import angular routing
- Run initialize commmand
- Open default page in browser

\###step one download bundle using composer

```
  composer require piga/angular

```

or add to your composer.json

```
  "piga/angular": "^1.0"

```

\###step two

Enable the bundle and related bundle in the kernel:

```
