Hi Faddy ,
I agree with @Maksim Rashchynski . Component init is called after view init .
Issue : Cannot read property 'attachRouteMatched' of undefined
Solution : Router is configuration missing in mainfest.js .
.......
"routing": {
"routes": []
}
..........
Just For Information :
All Model mentioned in manifest will be created before view init . For Example i18n Model in current scenario
Regards,
Jibin Joy