Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Style 05-04: Extract Template and Styles to Their Own Files #3

Open
abollini opened this issue Mar 25, 2016 · 1 comment
Open

Style 05-04: Extract Template and Styles to Their Own Files #3

abollini opened this issue Mar 25, 2016 · 1 comment
Assignees

Comments

@abollini
Copy link
Member

Switch to always use the templateUrl directive https://docs.angularjs.org/guide/directive

The template file should be named as the component file with the .html extension

@wellingWilliam
Copy link
Contributor

I started this process. Unfortunately, it is not yet functional with angular universal. The server side seems to require absolute paths while the client side uses relative paths.

angular/universal#294

I created a branch with the restructuring but still using template rather then templateUrl.

https://github.com/DSpace-Labs/angular2-ui-prototype/tree/routing-improved-prep-templateUrl

I did not put in a pull request due branching from a branch waiting on merging.

@tdonohue tdonohue added this to the Prototype Phase 1 milestone Mar 28, 2016
@jeremythuff jeremythuff self-assigned this Apr 1, 2016
@ghost ghost changed the title Refactor template out of component files Style 05-04: Extract Template and Styles to Their Own Files May 5, 2016
ghost pushed a commit that referenced this issue May 5, 2016
@ghost ghost removed the in progress label May 6, 2016
@tdonohue tdonohue removed this from the Prototype Phase 2 milestone Jun 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants