mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Templates] Use text plugin for toolbar
This commit is contained in:
@ -25,8 +25,8 @@
|
|||||||
* Module defining MCTForm. Created by vwoeltje on 11/10/14.
|
* Module defining MCTForm. Created by vwoeltje on 11/10/14.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
["./controllers/FormController"],
|
["./controllers/FormController", "text!../res/templates/toolbar.html"],
|
||||||
function (FormController) {
|
function (FormController, toolbarTemplate) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -61,7 +61,7 @@ define(
|
|||||||
restrict: "E",
|
restrict: "E",
|
||||||
|
|
||||||
// Load the forms template
|
// Load the forms template
|
||||||
templateUrl: templatePath,
|
template: toolbarTemplate,
|
||||||
|
|
||||||
// Use FormController to populate/respond to changes in scope
|
// Use FormController to populate/respond to changes in scope
|
||||||
controller: [ '$scope', FormController ],
|
controller: [ '$scope', FormController ],
|
||||||
|
Reference in New Issue
Block a user