[AngularJS] Re: Using the Quick Start, there is an infinite reload with browsersync

2016-01-01 Thread Raymond Camden
Ok, looks like - maybe - it was Dropbox. Telling it to pause syncing seems to have helped. Oddly - last mod values for the files weren't changing so I don't think Dropbox was 'updating' them, but, whatevs. :) On Wednesday, December 30, 2015 at 4:02:46 PM UTC-6, Raymond Camden wrote: > > I'm

Re: [AngularJS] Re: Angular 2 and Rails 5, asset pipeline or no?

2016-01-01 Thread Amrit Kahlon
Yep that's what I ended up doing, except with gulp. Cheers On Jan 1, 2016 5:56 PM, "Vincent Zhu" wrote: > Hi, Amrit > I was there. > My solution is using npm + tsc + watchify, you will need to write the js > code in TS, tsc into js, then use watchify to bundle required npm

Re: [AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread Vincent Zhu
yes, right. the gulp-angular-embed-templates does work with angular2. thanks. On Friday, January 1, 2016 at 11:07:00 PM UTC+8, 姜信徳 wrote: > > For Angular

[AngularJS] Re: Angular 2 and Rails 5, asset pipeline or no?

2016-01-01 Thread Vincent Zhu
Hi, Amrit I was there. My solution is using npm + tsc + watchify, you will need to write the js code in TS, tsc into js, then use watchify to bundle required npm modules. On Thursday, December 24, 2015 at 3:19:09 AM UTC+8, Amrit Kahlon wrote: > > What is the best way to set up a project using

[AngularJS] Re: ES5 Developer Guide #2 fails

2016-01-01 Thread CL
A couple clarifications: I said "the previous example" and "example 1"; both times I was referring to the 5 Min Quickstart, which works fine. Also, I show a "boot.js" file being included, but this file is empty It was still there from the quickstart. The developer guide makes no mention of

[AngularJS] ES5 Developer Guide #2 fails

2016-01-01 Thread CL
The first ES5 example in step 2 of the Angular Developer Guide (https://angular.io/docs/js/latest/guide/displaying-data.html) does not work. I've pasted the javascript exactly as it is shown in the example, but it fails in at least two ways: Problem 1. "angular" has not been defined. The

[AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread Vincent Zhu
good news! thanks, hope the team can streamline the whole process On Saturday, January 2, 2016 at 1:12:30 AM UTC+8, Eric Martinez wrote: > > Vincent, > > in future releases there will be offline compilation which means the HTML > will be part of the JS, or in separated files. You can read

Re: [AngularJS] Re: Angular 2 and Rails 5, asset pipeline or no?

2016-01-01 Thread Vincent Zhu
Cool, share some my confusions with you. ;-) how do you use template if not using gulp? simply inline template? Also, how do you handle the rails asset pipeline? like do you use asset_path ? On Saturday, January 2, 2016 at 10:10:54 AM UTC+8, Amrit Kahlon wrote: > > Yep that's what I ended up

[AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread Vincent Zhu
thanks, Manfred, that's very helpful! On Saturday, January 2, 2016 at 1:04:49 AM UTC+8, Manfred Steyer wrote: > > Hi Vincent, > > I've also seen a bundling solution for angular 2. I think, it was part of > some starter-kit for angular 2. Perhaps this is what you are searching for: > >

[AngularJS] Google Autocomplete Error

2016-01-01 Thread Steven Ottz
I am getting this error using Google Autocomplete InvalidValueError: not an instance of HTMLInputElement *I am using this in my view * *This is my js* var input = document.getElementById('destination'); -- You received this message because you are subscribed to the Google Groups

[AngularJS] Re: Angular 2 release

2016-01-01 Thread Günter Zöchbauer
As many as necessary. Don't expect to get more concrete information for Google projects. Google doesn't provide estimates on principle. On Friday, January 1, 2016 at 2:38:42 AM UTC+1, Manfred Steyer wrote: > Do you know, how much betas are planned? > > > Wishes, > Manfred > > Am Mittwoch,

Re: [AngularJS] Angularjs-1.x or Angularjs-2.x which one i started and where?

2016-01-01 Thread Günter Zöchbauer
Angular2 is a complete rewrite, the differences are huge. I suggest learning Angular 2 On Friday, January 1, 2016 at 8:26:10 AM UTC+1, Sivaprabu Ganesan wrote: > Hi 姜信徳, > > > Now only i start learning angular my doubt is 1.0 and 2.0 or totally > different or small difference only? > > >

[AngularJS] Re: AngularJS app cleanup

2016-01-01 Thread zenn . neess
Thanks for idea. How can I do that? Which properties of event should I look for? I should cover the following: - Browser close - Tab close - f5 - ctrl+f5 - refresh button click - ctrl+w On Thursday, December 31, 2015 at 9:44:03 PM UTC+1, Robert Ferentz wrote: > > No direct way to do it.

Re: [AngularJS] Re: AngularJS app cleanup

2016-01-01 Thread HeavyMery
> > What I need is to delete ... data ... when user closes the tab or browser. > But those ... data should not be deleted on page reload. For this purpose, You should use *Window.sessionStorage* to store data. https://developer.mozilla.org/ja/docs/Web/API/Window/sessionStorage How can I do

[AngularJS] Re: angular2 tools

2016-01-01 Thread Martin Kuhn
IntelliJ IDEA is really a good IDE for developing web apps in general (has good typescript support and so on ). It is also planned to provide good support for angular2 (currently no IDE supports angular2). For my point of view it is far better than any eclipse based IDE (which Aptana is) So I

Re: [AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread HeavyMery
For Angular 1.X, We can use grunt(or gulp) plugin to embed templates to $templateCache. e.g. grunt-angular-templates , gulp-angular-embed-templates It seems that

Re: [AngularJS] Angularjs-1.x or Angularjs-2.x which one i started and where?

2016-01-01 Thread Sivaprabu Ganesan
Hi, Where i start beginners level angular 2.0 On Friday, January 1, 2016 at 5:11:54 PM UTC+5:30, Günter Zöchbauer wrote: > > Angular2 is a complete rewrite, the differences are huge. > I suggest learning Angular 2 > > On Friday, January 1, 2016 at 8:26:10 AM UTC+1, Sivaprabu Ganesan wrote: >

[AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread Manfred Steyer
Hi Vincent, I've also seen a bundling solution for angular 2. I think, it was part of some starter-kit for angular 2. Perhaps this is what you are searching for: https://github.com/ludohenin/gulp-inline-ng2-template Another solution is to bundle templates into javascript-bundles. In this

[AngularJS] Re: best way to handle templates in angular2.

2016-01-01 Thread Eric Martinez
Vincent, in future releases there will be offline compilation which means the HTML will be part of the JS, or in separated files. You can read this comment . -- You received this message because you are subscribed to the Google