Hi Reza,
Currently, there is not really a good story for that. Other as putting the
sources files in a linked folder. The CLI will prvide a way to create a
library in the future, but that will take a while. There are a couple of
really good instructions available on how to build your own
I have an application that uses some third party(open source) components
for Angular4.
I have some typescript code, components and injectables.
It all lives in one angular application.
There is a second project that is starting and I have the need to use some
of existing code from project 1,
I use NgPrime package, the tree control is very feature rich.
On Tuesday, September 19, 2017 at 6:30:40 PM UTC-7, explorer wrote:
>
> hi need some help to craete a tree in angular js plese
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS
I have a this JSON data :
[
{
"product_spec": {
"id": 12,
"name": "internal_storage",
"unit_arr": [
{
"unitID": 2,
"name": "MB"
},
{
"unitID": 3,
Hi Sander,
Thank you very much for your help, it did it !
If someone else has to do something similar, here are the main
documentations I used for the implementation:
Creation of dynamic components:
Offical Angular documentation about dynamic components
Hi Brian,
This sample is based on http, but you can do something similar for
httpClient. HttpClient even has the concept of interceptors that might even
simplify this.
here we go:
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import {
Headers,
Http,
Hi Brian,
I think overriding Http or HttpClient won't help with this - Angular uses
ResourceLoader to load templates etc. You would need to override that and
provide your own implementation. Check this ticket as a starting
point: https://github.com/angular/angular/issues/13286
Zlatko
--
You