Uses the minimized angular from public dir instead of cdn

This uses the available minimized version of angular instead of using the non minimized version from the google cdn.
This commit is contained in:
Lucas Bickel 2017-04-18 08:42:32 +02:00
parent ebd7c1d2a3
commit f9a19d9e27
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@ class EmbedController extends Zend_Controller_Action
$request = $this->getRequest();
$this->view->angular = Application_Common_HTTPHelper::getStationUrl() . 'js/libs/angular.min.js?'.$CC_CONFIG['airtime_version'];
$widgetStyle = $request->getParam('style');
if ($widgetStyle == "premium") {
$this->view->widgetStyle = "premium";