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 b58fc4f commit 161c22aCopy full SHA for 161c22a
app/listings/listings.jade
@@ -1,4 +1,4 @@
1
-react-component(name="ChallengeFiltersExample" props="reactProps" watch-depth="reference")
+react-component.listings(name="ChallengeFiltersExample" props="reactProps" watch-depth="reference")
2
3
script.
4
(function() {
app/listings/listings.routes.js
@@ -21,7 +21,6 @@ import angular from 'angular'
21
'listings': {
22
parent: 'root',
23
url: '/listings/',
24
- template: require('./listings')(),
25
controller: 'ListingsCtrl as vm',
26
resolve: {
27
userHandle: ['$stateParams', function($stateParams) {
@@ -31,6 +30,11 @@ import angular from 'angular'
31
30
data: {
32
authRequired: false,
33
title: 'Listings'
+ },
34
+ views: {
35
+ 'container@': {
36
+ template: require('./listings')()
37
+ }
38
}
39
40
0 commit comments