Expose configurable attributes property when loading components

This commit is contained in:
Akash Agrawal
2016-04-28 18:35:55 +05:30
parent 2d4c4c63bb
commit c2f084224a
8 changed files with 16 additions and 13 deletions

View File

@ -115,7 +115,7 @@ export function load(pathOrOptions: string | LoadOptions, context?: any): View {
if (!context) {
if (!isString(pathOrOptions)) {
let options = <LoadOptions>pathOrOptions;
componentModule = loadCustomComponent(options.path, options.name, undefined, options.exports, options.page);
componentModule = loadCustomComponent(options.path, options.name, options.attributes, options.exports, options.page);
} else {
let path = <string>pathOrOptions;
componentModule = loadInternal(path);