-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using index.html and templateUrl path issue #51
Comments
I wrote an actual app, in production. I use index.html and template files. Clearly i was crazy before so closing. |
Good to know) We are actually quite busy now, so issues like this are not of first priority, apologies |
@TrikinCurt , could you please explain what you actually changed? Having the same issue here. Thanks in advance. |
+1 having same issue .. here is my code in 4 files:
|
I encountered the same issue. It was caused by a wrong templateUrl. Anyway....odd error message. |
Sorry i didn’t respond back, but following along with the 15 step example, and the rest is typical. Works fine. Curt Fluegel On Thu, Jan 21, 2016 at 5:09 AM, steven166 notifications@github.com wrote:
|
Actualy, it does make sense to send a variable with a base path (think if you want diferent css files for diferent looks). dashboard.component.ts: Perhaps this is easy to do, but I am just begining on ng2 (second day). |
Ok, keep in mind I am new to ng2 and meteor, but...
I have an index.html file, since I was converting an app, it has header information that I need in it.
Essentially:
My app.ts uses a template called app.html
In my template files, if I paste all of the html inline using template:
<b>All my happy html</b>
it works just fine.If I simply change it to templateUrl it will no longer compile.
Am I crazy? Am I going about this wrong? I tried to use some of the Angular 1 docs to get that far. So it works, but I can't stand the site of full html pages inline.
The text was updated successfully, but these errors were encountered: