[Templates] Use text plugin for toolbar

This commit is contained in:
Victor Woeltjen
2016-02-26 13:12:35 -08:00
parent bf1fa0ac4c
commit 741d4476e6

View File

@ -25,8 +25,8 @@
* Module defining MCTForm. Created by vwoeltje on 11/10/14.
*/
define(
["./controllers/FormController"],
function (FormController) {
["./controllers/FormController", "text!../res/templates/toolbar.html"],
function (FormController, toolbarTemplate) {
"use strict";
/**
@ -61,7 +61,7 @@ define(
restrict: "E",
// Load the forms template
templateUrl: templatePath,
template: toolbarTemplate,
// Use FormController to populate/respond to changes in scope
controller: [ '$scope', FormController ],