"use strict"; angular.module("vocabulary") .component("wordImage", { templateUrl: "/js/redesign-angular/words/word-image.html", controller: "WordImage", bindings: { imageName: "<" } }) .controller("WordImage", [ function WordImageController() { var ctrl = this; ctrl.isShown = false; }]);