/**
 * AngularJS wrapper for Drupal
 *
 * @author Hein Bekker <hein@netbek.co.za>
 * @copyright (c) 2015 Hein Bekker
 * @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
 */

(function (window, angular, undefined) {
	'use strict';

	angular
		.module('nb.drupal', [])
		.factory('Drupal', ['$window', function Drupal ($window) {
				return $window.Drupal;
			}])
		.run(runBlock);

	// Invoke at runtime to allow factory to delete global reference.
	runBlock.$inject = ['Drupal'];
	function runBlock (Drupal) {
	}
})(window, window.angular);
/**
 * AngularJS wrapper for Drupal
 *
 * @author Hein Bekker <hein@netbek.co.za>
 * @copyright (c) 2015 Hein Bekker
 * @license http://www.gnu.org/licenses/agpl-3.0.txt AGPLv3
 */

(function (window, angular, undefined) {
	'use strict';

	angular
		.module('nb.drupal', [])
		.factory('Drupal', ['$window', function ($window) {
				return $window.Drupal;
			}]);
})(window, window.angular);
Fix for IE8