https://all-learning.com/angularjs-custom-directives-tutorial-part-2/