We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb8eec commit 9686c21Copy full SHA for 9686c21
src/statebuilders/views.ts
@@ -23,7 +23,7 @@ export function ng2ViewsBuilder(state: StateObject) {
23
forEach(viewsObject, function (config: Ng2ViewDeclaration, name: string) {
24
name = name || '$default'; // Account for views: { "": { template... } }
25
if (isFunction(config)) config = { component: config as any };
26
- if (Object.keys(config).length == 0) return;
+ if (Object.keys(config).length === 0) return;
27
28
config.$type = 'ng2';
29
config.$context = state;
0 commit comments