[AngularJS] A happy marriage of AngularJS and Polyfill.io?

2018-04-06 Thread Richard Farkas
I'm considering using polyfill.io with our AngularJS app.

Do you have any experience of these working well, or badly, together? 
Please share any words of warning, alternatives and ideas.

We are on Angular 1.4 and our upgrade to Angular will not happen soon. We 
have nearly half of our users on Internet Explorer 11 (amazing but true) 
and our app has a ton of asynchronous data coming in from the backend. Our 
goal is to use Promises, asynch/await, and some ES6 patterns for the modern 
browsers, without ruining the experience for IE users.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Assigning a response object to a variable

2018-04-06 Thread Tharindu Dilshan
this.dataService.getStudentData(studentId).subscribe(response => {
console.log(response.json());
this.student_data = response;
});

why student data is always undefined? if this because response is async 
what is the work over for this issue? plz help. thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] HTML TO PDF

2018-04-06 Thread Amar Alte
 I need to export any HTML  to PDF using AngularJs only.
or can say need to generate PDF using AngularJS.
I done googling much more but not able to get any solution to generate PDF
in angularJs without using JSPDF or phantom and etc.

is there any Directive or events available for PDF generation in AngularJS.
I am not looking for PDF viewer. I am looking for PDF generation.

I am looking forward to hearing from you ASAP.


Thanks in Advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] How to extract public key from X509 certific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mB\r\nF2FudXAua3VtYXJAdWlkYWkubmV0LmluMBMGA1UdIwQMMAqACEzRvSoRSATTMB0G\r\nA1UdDgQWBBQtqQG/bJDE3ZRmfzxsgLEIcF7BfzAOBgNVHQ8BAf8EBAMCBSAwgYwG\r\nA1UdIASBhDCBgTAtBgZggmRkAgMwIzAhBggrBgEFBQcCAjAVGhNDbGFzcyAzIENl\r\ncnRpZmljYXRlMFAGB2CCZGQBCAIwRTBDBggrBgEFBQcCARY3aHR0cDovL3d3dy5l\r\nLW11ZGhyYS5jb20vcmVwb3NpdG9yeS9jcHMvZS1NdWRocmFfQ1BTLnBkZjB7Bggr\r\nBgEFBQcBAQRvMG0wJAYIKwYBBQUHMAh0dHA6Ly9vY3NwLmUtbXVkaHJhLmNv\r\nbTBFBggrBgEFBQcwAoY5aHR0cDovL3d3dy5lLW11ZGhyYS5jb20vcmVwb3NpdG9y\r\neS9jYWNlcnRzL0MzT1NDQTIwMTQuY3J0MEcGA1UdHwRAMD4wPKA6oDiGNmh0dHA6\r\nLy93d3cuZS1tdWRocmEuY29tL3JlcG9zaXRvcnkvY3Jscy9DM09TQ0EyMDE0LmNy\r\nbDANBgkqhkiG9w0BAQsFAAOCAQEAOVx0mfOydPPGd3YW5qd28pWRPR3uq9hANq4e\r\nc/Fqe1xg3dzlKWBWcUOLQqKuD5DEb6MYYzBCMe7iinDDzTNQFQq1y5rO+GD4WxN/\r\n7mDkMnpdUju+vKi7AEF2wuqZBuNoSvdRqsq7ZgzLZXrdYwYLXaxpxcQ0QlzhECdv\r\n/K2AGf/wv8nh/BIckHZuJSs5MrCZtiKS84tpXHHHL/Cjd0y3UO+35VvxFOZ50BQr\r\ni4XEIDYQd0liyHwTWkv7CoxTYHO9DPPttd1s9nsY1mHSGGWLWUoy3v1yc4iFaw28\r\nGXUxpP5A9BfwWFbeqaHx8Tcn0x8YB1r/dAQlE0G/VTsEiugxig==\r\n-END
 
CERTIFICATE-




how to extract public key from above certificate in angular 2 or javascript

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: Angular combine multiple angular application into one.

2018-04-06 Thread Darxx 84
Hello Sander,

First of all thank You for Your response.

*Just to clarify my problem*. We have customers which use our platform and 
they cant or will not be allowed to expose their code to us.
They are using our API (AngularJS services, models, components) in order to 
integrate. *Their builds do not depend on ours*. In order to build their 
plugin they are using our core module which is build, production code 
(minificated). 
Going a bit deeper in plugin build. Plugin code depends on core module, but 
dependency is not injected at build time. It is injected on page load. 
example: https://pastebin.com/TreYLXnv
*So we cannot have monorepo* for all external plugins. We need to have 
ability to build plugin separately and *be able to load it at page load 
time*.

So going back to Angular 6 and CLI, how can it help us? Can you give me 
some kind of a sample of exporting apps and libraries which could be 
combined later at page load time?
If Angular 6 CLI is not a solution can we achieve custom builds using 
WebPack or others. If so, can we get a sample of customizing build?

respectfully,
Darius


On Thursday, April 5, 2018 at 7:04:26 PM UTC+3, Sander Elias wrote:
>
> Hi Darius,
>
> From version 6 on, the Angular CLI will offer support for this. you can 
> create a single project, that will hold multiple apps and libraries. You 
> can test this already with the RC of version 6, but there is little to no 
> documentation yet.
> If you need to get started today, I would say, take a look at NX from nrwl 
> , as this is supporting this setup already.
>
> However, both of those solutions will create you a monorepo for your 
> project. 
>
> Regards
> Sander
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: New Website Development Pace too slow??

2018-04-06 Thread Patrice
Hi Sander,

Just because I am curious : why do you think that, because MongoDB is in 
the stack, this is might be sign of inexperience ?

Regards,

Patrice

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: Angular back end

2018-04-06 Thread 'David McGregor' via Angular and AngularJS discussion
Link: http://dealatrip.co.uk/demo/#/property/addproperty

On Thursday, 5 April 2018 19:17:40 UTC+1, David McGregor wrote:
>
>
> Is the Indexing framework done first as one component at a time with the 
> coding?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: Angular back end

2018-04-06 Thread 'David McGregor' via Angular and AngularJS discussion
By the Index I mean the Sidebar navigational menu set up.  Logic tells me 
that this would be the starting point.  NB: Rather than going for one 
aspect, as for now, like the Add A Property one selected now.

On Thursday, 5 April 2018 19:17:40 UTC+1, David McGregor wrote:
>
>
> Is the Indexing framework done first as one component at a time with the 
> coding?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.