Hi Eric,
I finally got back to this.
So to get this working I had to add:
In show-properties.ts
bootstrap(DisplayComponent);
In show-properties.html
<!DOCTYPE html>
<html>
<head>
<script
src="https://github.jspm.io/jmcriffey/[email protected]/traceur-runtime.js"></script>
<script src="https://jspm.io/[email protected]"></script>
<script
src="https://code.angularjs.org/2.0.0-alpha.26/angular2.dev.js"></script>
</head>
<body>
<display></display>
<script>
System.import('show-properties');
</script>
</body>
</html>
Thanks for your help.
Martin
On Friday, August 28, 2015 at 2:41:57 PM UTC+1, Eric Martinez wrote:
>
> Martin,
>
> the System.import() you did it in the first step. So you can reuse it. For
> example in the step3 you could create another file called 'todolist.ts' and
> import 'todolist' instead of 'main'.
>
> Answering your first question for that example there's nothing more
> required, <display> tag is all what you need to run that example.
> Everything is done by angular and finally rendered inside that tag, you can
> check it in the console.
>
> El viernes, 28 de agosto de 2015, 5:36:48 (UTC-3), Martin Dickson escribió:
>>
>> Hi,
>>
>> My question now is - what further code is required in the .html file?
>> The guide only mentions the display tag. Do I need a System.import() for
>> example?
>>
>> Thanks again.
>>
>> Martin
>>
>>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.