@@ -12,14 +12,15 @@
link: link,
restrict: 'A',
scope: {
- msg: '=ngMsg'
+ msg: '=ngMsg',
+ appContent: '=ngAppContent'
}
};
return directive;
function link(scope, element, attrs) {
var replaceSystemFace = function(content){
- console.log(JSON.stringify(scope.$parent.appContent.sys));
+ console.log(JSON.stringify(scope.appContent.sys));
return content;
var html = '';