{"size": 696, "ext": "js", "max_stars_repo_path": "lib/es6b.js", "max_stars_repo_name": "konradst/angular.require.classes", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/es6b.js", "max_issues_repo_name": "konradst/angular.require.classes", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/es6b.js", "max_forks_repo_name": "konradst/angular.require.classes", "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": 18.8108108108, "max_line_length": 62, "alphanum_fraction": 0.492816092}
//import { Es6Ctrl } from 'es6lib.js';
//export { Es7Ctrl };
define([
    'lib/es6a'
], (Es6aCtrl) => class Es6bCtrl extends Es6aCtrl {

    /**
     * @constructor
     * @param $scope
     */
    constructor($scope) {
        super($scope);
        // $scope.es8 = ' overriden in Es6bCtrl constructor!';
    }

    /**
     * b benefits from super (a) method
     * @returns {*}
     */
    es6() {
        return super.es6() + ':)';
    }

    /**
     * b overrides a
     * @returns {string}
     */
    es7() {
        return 'Es7Ctrl es7b overriden in Es6bCtrl';
    }

    // b's es8 is undefined, so super class is inherited
    // es8() {
    //     return 'Es7Ctrl es8b';
    // }
});
