public function enqueueFrontend()
 {
     $path = plugins_url('../includes/js/', __FILE__);
     // Running script
     wp_enqueue_script('proud-map-app', $path . 'proud-map-app.js', array('angular'), false, true);
     // Angular resources
     $path .= 'proud-map-app/dist/';
     // Not needed since moving map stuff to libraries
     // wp_enqueue_script('proud-map-app-libraries', $path . 'js/libraries.min.js', array('angular'), false, true);
     wp_enqueue_script('proud-map-app-app', $path . 'js/app.min.js', array('angular'), false, true);
     wp_enqueue_script('proud-map-app-templates', $path . 'views/app.templates.js', array('proud-map-app-app'), false, true);
     // CSS
     wp_enqueue_style('proud-map-app-css', $path . 'css/app.min.css');
     // Add global settings
     parent::addJsSettings(array('api_path' => get_option('proudcity_api', '/wp-json/wp/v2/locations/')), true);
 }
 public function enqueueFrontend()
 {
     $path = plugins_url('../includes/js/', __FILE__);
     // Running script
     wp_enqueue_script('proud-actions-app', $path . 'proud-actions-app.js', array('lodash', 'angular'), false, true);
     // Angular resources
     $path .= 'proud-actions-app/dist/';
     wp_enqueue_script('proud-actions-app-libraries', $path . 'js/libraries.min.js', array('angular'), false, true);
     wp_enqueue_script('proud-actions-app-app', $path . 'js/app.min.js', array('proud-actions-app-libraries'), false, true);
     wp_enqueue_script('proud-actions-app-templates', $path . 'views/app.templates.js', array('proud-actions-app-app'), false, true);
     wp_enqueue_script('google-maps-api', '//maps.googleapis.com/maps/api/js?key=' . get_option('google_api_key', '') . '&libraries=places');
     // @todo: make this work (file isn't getting included with this call, so I just added it to app.min.js)
     //if ($this->settings['active_tabs']['#options']['vote']) {
     //  wp_enqueue_script('proud-actions-app-vote', $path . 'js/vote.min.js', array('proud-actions-app-app'), false, true);
     //}
     // Add global settings
     parent::addJsSettings(array('api_path' => get_option('proudcity_api', '/wp-json/wp/v2/')), true);
 }