{"size": 489, "ext": "js", "max_stars_repo_path": "src/features/home/home.controller.js", "max_stars_repo_name": "H3rN4n/webpack-and-angularjs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/features/home/home.controller.js", "max_issues_repo_name": "H3rN4n/webpack-and-angularjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/features/home/home.controller.js", "max_forks_repo_name": "H3rN4n/webpack-and-angularjs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.2608695652, "max_line_length": 47, "alphanum_fraction": 0.6605316973}
const videoList = require("./videoList.json");
import ngSanitize from 'angular-sanitize';

//const videoList =  require('./videoList.js');

export default class HomeController {
  constructor() {
    this.name = 'World';
    this.videoList = videoList;
    this.$sce = ngSanitize;
  }

  trustSrc(src) {
    console.log($sce.trustAsResourceUrl(src));
    return $sce.trustAsResourceUrl(src);
  }

  changeName() {
    this.name = 'angular-tips';
  }
}

//HomeController.$inject = ['$sce'];