2017 © Pedro Peláez
 

library bitrix-angular

use angular bitrix

image

domatskiy/bitrix-angular

use angular bitrix

  • Monday, September 18, 2017
  • by domatskiy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

bitrix-angular

install

composer require domatskiy/bitrix-angular

use

in php_interface/init.php, (*1)

if(class_exists('\Domatskiy\Angular'))
{
    $EventManager->addEventHandler("main", "OnEpilog", "OnEpilogHandler", true, 2);

    function OnEpilogHandler()
    {
        $angular = \Domatskiy\Angular::getInstance();
        //$angular->setVendorJs(SITE_TEMPLATE_PATH."/js/angular.min.js"); // add in header vendor js
        $angular->setAppJs(SITE_TEMPLATE_PATH."/assets/app/app.min.js");
        $angular->addModule('<module_name>', '<module_path>');
        $angular->init();

    }

}

in component_epilog.php, (*2)

if(class_exists('\Domatskiy\Angular'))
{
    $angular = \Domatskiy\Angular::getInstance();
    $angular->setAppJs(<path_template_js>);
    $angular->addModule('<module_name>', '<module_path>');
}

The Versions

18/09 2017

dev-master

9999999-dev http://domatskiy.ru

use angular bitrix

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

by Evgeniy Domatskiy

bitrix angular

18/09 2017

v1.0.5

1.0.5.0 http://domatskiy.ru

use angular bitrix

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

by Evgeniy Domatskiy

bitrix angular

13/09 2017

v1.0.4

1.0.4.0 http://domatskiy.ru

use angular bitrix

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

by Evgeniy Domatskiy

bitrix angular

31/08 2017

v1.0.3

1.0.3.0 http://domatskiy.ru

use angular bitrix

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

by Evgeniy Domatskiy

bitrix angular

31/08 2017

v1.0.2

1.0.2.0 http://domatskiy.ru

use angular bitrix

  Sources   Download

MIT

The Requires

  • php >=5.6.4

 

The Development Requires

by Evgeniy Domatskiy

bitrix angular