[AngularJS] Re: Export HTML to PDF in angularjs 1.x

2017-02-09 Thread Yoav Luft @ Matific
I had done something similar a year ago, I hope that helps: https://missingclosure.wordpress.com/2015/11/29/rendering-angularjs-to-pdf/ On Wednesday, February 8, 2017 at 11:51:46 AM UTC+2, desmart wrote: > > Hi all, > i want to export my html content to pdf. I'm looking google and i found >

[AngularJS] Re: Code review

2017-02-05 Thread Yoav Luft @ Matific
Hi Mark! Just a couple of weeks ago I was talking to my partner (who is also a programmer) about the need for code reviews for people who work alone or for teams who are all new to a technology. I started to investigate and found out that something similar already exists on

[AngularJS] Re: Angular2 i18n state

2017-01-09 Thread Yoav Luft @ Matific
We're using it in Matific on a not-yet-deployed site. Currently, there is no programmatic access to text resources. To bypass that, I've created a template in which all strings that need to be accessed programmatically will reside, and then we load the relevant XLF file and parse it in our code

[AngularJS] Contributing documentation

2017-01-01 Thread Yoav Luft @ Matific
Hello y'all! How can I contribute documentation for Angular 2 branch? I'm looking to expand the documentation on translations which has a lot of good but not documented features. Thank you! -- You received this message because you are subscribed to the Google Groups "Angular" group. To

[AngularJS] Re: Philosophy: Configurable components: Configuration objects vs. ContentChildren

2016-11-30 Thread Yoav Luft @ Matific
Thank you Sander, I would like hear from you when would you prefer each approach. On Tuesday, November 29, 2016 at 11:21:54 AM UTC+2, Sander Elias wrote: > > Hi Yoav, > > You should do both. There is a difference in use-cases. For myself, I > prefer the content-children approach. However,

[AngularJS] Re: Understanding Code

2016-11-29 Thread Yoav Luft @ Matific
- core-js/client/shim - used for ES6 shims and polyfills. This is for solving browser missing features etc. - zone.js - used for creating isolated environments in Javascript, used by Angular2. - Reflect.js - ? - systemjs - Used by angular for configuration, loading parts,

[AngularJS] Re: Accessing translations providers by a service

2016-11-29 Thread Yoav Luft @ Matific
ssages.fr.xlf. But then you cannot leverage dynamic changes which > leads me to recommend using some database backend to store yoru translated > files. Depends I guess > > > > On Thursday, November 24, 2016 at 4:21:27 AM UTC-8, Yoav Luft @ Matific > wrote: >> >> I'm ex

[AngularJS] Re: Keeping the static files secure

2016-11-26 Thread Yoav Luft @ Matific
You can use Webpack's code splitting capabilities to split your SPA to login, and then load the rest after the user had logged in. This is assuming that your static file server has some kind of authorization support. This approach is very good

[AngularJS] Accessing translations providers by a service

2016-11-24 Thread Yoav Luft @ Matific
I'm examining different ways to support translations in our hybrid angular 1 + angular 2 app. In our current code base using Angular 1.2 we load a JSON file with keys to translations that we inject using our own service/directive/filter. This approach requires from us to update the source JSON