)]}'
{"horizon/static/framework/util/include/hz-include.directive.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"82ed8e5b2c922a4d76762c0d33b3b55f4621d102","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  \u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  /**"},{"line_number":21,"context_line":"    * @ngdoc directive"},{"line_number":22,"context_line":"    * @name hzInclude"},{"line_number":23,"context_line":"    * @description Similar to ng-include without creating a new scope"},{"line_number":24,"context_line":"    */"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_49d68ff2","line":21,"updated":"2015-07-26 16:31:04.000000000","message":"Move this ngdoc down to above function hzInclude","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"df36ee3171f33c27c572acfd001385ec09bfd0b5","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  /**"},{"line_number":21,"context_line":"    * @ngdoc directive"},{"line_number":22,"context_line":"    * @name hzInclude"},{"line_number":23,"context_line":"    * @description Similar to ng-include without creating a new scope"},{"line_number":24,"context_line":"    */"},{"line_number":25,"context_line":"  angular"},{"line_number":26,"context_line":"    .module(\u0027horizon.framework.util.hz-include\u0027)"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_57e5d6a5","line":23,"updated":"2015-07-25 00:52:35.000000000","message":"I know one can find how to use this directive in spec file, but it would be nice to have some html code as example here as well.","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aa0f323a6d5cdaf74e0937bb39d73bc4c19d67a0","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  /**"},{"line_number":21,"context_line":"    * @ngdoc directive"},{"line_number":22,"context_line":"    * @name hzInclude"},{"line_number":23,"context_line":"    * @description Similar to ng-include without creating a new scope"},{"line_number":24,"context_line":"    */"},{"line_number":25,"context_line":"  angular"},{"line_number":26,"context_line":"    .module(\u0027horizon.framework.util.hz-include\u0027)"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_4308b8d9","line":23,"in_reply_to":"3a50d1a3_57e5d6a5","updated":"2015-07-25 07:30:53.000000000","message":"agree, example would be good here.","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"82ed8e5b2c922a4d76762c0d33b3b55f4621d102","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    return {"},{"line_number":37,"context_line":"      restrict: \u0027EA\u0027,"},{"line_number":38,"context_line":"      link: link"},{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    ///////////////////"},{"line_number":42,"context_line":""}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_09072782","line":39,"updated":"2015-07-26 16:31:04.000000000","message":"Format:\n\nvar directive \u003d {\n\n...\n\n};\n\nreturn directive;","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"df36ee3171f33c27c572acfd001385ec09bfd0b5","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    function link(scope, element, attrs) {"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"      var path \u003d attrs.hzInclude || attrs.src;"},{"line_number":46,"context_line":"      var watch \u003d scope.$watch(path, watchPath);"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"      function watchPath(src) {"},{"line_number":49,"context_line":"        $templateRequest(src, true).then(function success(response) {"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_d7d006cc","line":46,"updated":"2015-07-25 00:52:35.000000000","message":"nit: why define watch if you do not use it?","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aa0f323a6d5cdaf74e0937bb39d73bc4c19d67a0","unresolved":false,"context_lines":[{"line_number":43,"context_line":"    function link(scope, element, attrs) {"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"      var path \u003d attrs.hzInclude || attrs.src;"},{"line_number":46,"context_line":"      var watch \u003d scope.$watch(path, watchPath);"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"      function watchPath(src) {"},{"line_number":49,"context_line":"        $templateRequest(src, true).then(function success(response) {"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_a372dc7a","line":46,"in_reply_to":"3a50d1a3_d7d006cc","updated":"2015-07-25 07:30:53.000000000","message":"The watch allows us to evaluate the path and switch templates when it does change. example: variable + \u0027/some/path\u0027 where variable can change.","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"df36ee3171f33c27c572acfd001385ec09bfd0b5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"      function watchPath(src) {"},{"line_number":49,"context_line":"        $templateRequest(src, true).then(function success(response) {"},{"line_number":50,"context_line":"          var contents \u003d element.html(response).contents();"},{"line_number":51,"context_line":"          $compile(contents)(scope);"},{"line_number":52,"context_line":"        });"},{"line_number":53,"context_line":"      }"},{"line_number":54,"context_line":""}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_f7d3c2d3","line":51,"updated":"2015-07-25 00:52:35.000000000","message":"question: do we need a $digest/$apply after $compile-ing?","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aa0f323a6d5cdaf74e0937bb39d73bc4c19d67a0","unresolved":false,"context_lines":[{"line_number":48,"context_line":"      function watchPath(src) {"},{"line_number":49,"context_line":"        $templateRequest(src, true).then(function success(response) {"},{"line_number":50,"context_line":"          var contents \u003d element.html(response).contents();"},{"line_number":51,"context_line":"          $compile(contents)(scope);"},{"line_number":52,"context_line":"        });"},{"line_number":53,"context_line":"      }"},{"line_number":54,"context_line":""}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_636cd49c","line":51,"in_reply_to":"3a50d1a3_f7d3c2d3","updated":"2015-07-25 07:30:53.000000000","message":"nope, you only need to do that when you want instant result, as is the case for testing code.","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"}],"horizon/static/framework/util/include/hz-include.module.js":[{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"82ed8e5b2c922a4d76762c0d33b3b55f4621d102","unresolved":false,"context_lines":[{"line_number":18,"context_line":"  \u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  /**"},{"line_number":21,"context_line":"    * @ngdoc module"},{"line_number":22,"context_line":"    * @name horizon.framework.util.hz-include"},{"line_number":23,"context_line":"    */"},{"line_number":24,"context_line":"  angular"}],"source_content_type":"text/javascript","patch_set":8,"id":"3a50d1a3_29f2239b","line":21,"updated":"2015-07-26 16:31:04.000000000","message":"You want @ngdoc overview instead of module here","commit_id":"cff2dd21f5ec017b94e1d724ce7d7399cd6b626a"}]}
