1 | import {Page} from "./page";
|
2 |
|
3 | export class Section extends Page {
|
4 | constructor(route, params, options) {
|
5 | super(route, params, options);
|
6 | this.isSection = true;
|
7 | this.subsections = {};
|
8 | this.isBlockPage = false;
|
9 | console.log(options);
|
10 | console.log(this.template);
|
11 | if (!options.template) {
|
12 | this.template = require("./section.html");
|
13 | }
|
14 | }
|
15 | controller($scope) {
|
16 |
|
17 | }
|
18 | }
|
19 |
|
20 | Section.isSection = true; |
\ | No newline at end of file |