@Xelom wrote:
Hi,
A lot of Ionic 2 and Angular 2 examples and tutorials use html template in Component javascript file by using "template" instead of "templateUrl". Is this the best practice in Angular 2 or is it just for the sake of tutorial simplicity?
Example from Angular.io website:
Angular 2 Tutorial Part-1
Posts: 2
Participants: 2