"use strict"; angular.module("vocabulary") .component("titleH1", { templateUrl: "/js/redesign-angular/title-h1.html", controller: "TitleH1Controller", transclude: true, bindings: { h1Text: "@" } }) .controller("TitleH1Controller", ["utilService", function (utilService) { var ctrl = this; this.$onInit = init; function init() { utilService.setTitle(ctrl.h1Text); } }]);