Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export class firstController {
- constructor ($http, param2, param3) {
- this.param3 = param2;
- this.param4 = param3;
- }
- firstControllerSave() {
- console.log('firstController');
- }
- }
- export class secondController {
- constructor ($http, param4, param5, param6) {
- this.param3 = param4;
- this.param4 = param5;
- this.param5 = param6;
- this.handleSecondController();
- }
- handleSecondController() {
- console.log('secondController');
- }
- }
- export class combinedControllers {
- constructor($http, param2, param3, param4, param5, param6) {
- this.isSaving = false;
- this._$mdDialog = $mdDialog;
- this.param2 = param2;
- this.param3 = param3;
- this.param4 = param4;
- this.param5 = param5;
- this.param6 = param6;
- this.handleSecondController();
- }
- handleSecondController() {
- console.log('secondController');
- }
- firstControllerSave(){
- console.log('first controller save');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement