/**
 * @desc
 * Example of directive component
 *
 * @arg {string} input.text - Text to show in the component
 */
(function() {
	'use strict';

	angular.module('example.colorflip')
		.directive('exampleColorflip', exampleColorflip);

	function exampleColorflip() {
		return {
			restrict: 'E',
			templateUrl: 'templates/example-colorflip.html',
			controller: 'ExampleColorflipController',
			controllerAs: 'vm',
			bindToController: true,
			scope: {
				input: '='
			}
		};
	}
})();

/**
 * @desc
 * Example of directive component
 *
 * @arg {string} text - Text to show in the component
 */
(function() {
	'use strict';

	angular.module('example.colorflip')
		.directive('exampleColorflip', exampleColorflip);

	function exampleColorflip() {
		return {
			restrict: 'E',
			templateUrl: 'templates/example-colorflip.html',
			controller: 'ExampleColorflipController',
			controllerAs: 'vm',
			bindToController: true,
			scope: {
				input: '='
			}
		};
	}
})();

fix doc in colorflip