/**
 * AngularJS throbber directive
 *
 * @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.throbber', [])
		.directive('nbThrobber', nbThrobberDirective);

	function nbThrobberDirective () {
		return {
			restrict: 'AE',
			replace: true,
			transclude: true,
			template: '<div class="throbber"></div>'
		};
	}
})(window, window.angular);

/**
 * AngularJS throbber directive
 *
 * @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.throbber', [])
		.directive('nbThrobber', nbThrobberDirective);

	function nbThrobberDirective () {
		return {
			restrict: 'AE',
			transclude: true,
			template: '<div class="throbber"></div>'
		};
	}
})(window, window.angular);

Remove `replace` flag in directive