People
Repo info
Activity
  • 06:13
    Travis angular/angular.js#16040 pending (24663)
  • 06:13
    gkalpak synchronize #16040
  • 06:13
    yogi07 commented #15786
  • 06:13
    Travis angular/angular.js#16040 fixed (24662)
  • 05:56
    Travis angular/angular.js#16040 pending (24662)
  • 05:56
    gkalpak synchronize #16040
  • 05:31
    Travis angular/angular.js#16040 errored (24661)
  • 05:24
    Travis angular/angular.js#16040 pending (24661)
  • 05:24
    gkalpak synchronize #16040
  • 04:59
    Travis angular/angular.js#16040 fixed (24660)
  • 04:43
    Travis angular/angular.js#16040 pending (24660)
  • 04:43
    gkalpak synchronize #16040
  • Jun 11 23:31
    Travis angular/angular.js#16040 still failing (24659)
  • Jun 11 23:16
    Travis angular/angular.js#16015 still failing (24657)
  • Jun 11 23:09
    Travis angular/angular.js#16040 still failing (24658)
  • Jun 11 23:09
    Travis angular/angular.js#16040 pending (24659)
  • Jun 11 23:09
    gkalpak synchronize #16040
  • Jun 11 22:48
    Travis angular/angular.js#16040 pending (24658)
  • Jun 11 22:48
    gkalpak synchronize #16040
  • Jun 11 22:46
    Travis angular/angular.js#16015 pending (24657)
Marti Markov
@martimarkov_twitter
what would be the best practice for that? Should I make the dialogController as a service?
Frederik Prijck
@frederikprijck
@GillesVercammen Have you tried adding the bearer token to the Authorization header using an http interceptor ?
You can save the token in localstorage and have the http interceptor read the local storage and add the value to the headers if it was found
tiennguyen15
@tiennguyen15
md dialog should be in directive
you can reuse as much you can
Marti Markov
@martimarkov_twitter
so i have a view that needs to present a dialog
tiennguyen15
@tiennguyen15
yep
use the template url for directive
much easy way to control
Marti Markov
@martimarkov_twitter
and i have an onclick function to init the md-dialog
and then a separate files for HTML; CSS; Controller
you are saying to put the onclick func in a directive?
tiennguyen15
@tiennguyen15
yep
you can
or you can handle it form controller
pass the @
@ for the function
= for the scope model
Marti Markov
@martimarkov_twitter
cool thanks
Eugene Serkin
@jeserkin
@ for the function?
tiennguyen15
@tiennguyen15
&
:D
my mistake
Eugene Serkin
@jeserkin
:+1:
Marti Markov
@martimarkov_twitter
code?
i'm not 100% sure i'm getting this
tiennguyen15
@tiennguyen15
?
Marti Markov
@martimarkov_twitter
how should the code look for the & function
tiennguyen15
@tiennguyen15
scope: {
visible: '=',
userId: '=',
isShowApproved: '=',
callApproveBtn: '&'
},
this is fromdirective
callApproveBtn: '&'
from the templateURL of directive ng-click="callApproveBtn({model:model.data}); $event.stopPropagation()"
Marti Markov
@martimarkov_twitter
okay thanks :)
tiennguyen15
@tiennguyen15
from the directive <directive-name call-approve-btn="callFromCOntroller()"></>
Eugene Serkin
@jeserkin
@tiennguyen15 please use code formatting in future
ross bai
@rossbai1_twitter
@Csini that is a great article for ng+spring-boot, i also found a youtube video, and it was able to set it up yesterday something silimar at my localhost:8080 and 3000 port, and will see how it works on prod-server cause it will need to set up the enviroment first (nginx/nodejs/mvn). Thanks a lot !
Rahul Kamboj
@kamorahul
Hello Community
please someone help
is there any tut for ngrx
diff between ngrx and observable
Raj-Padaliya
@Raj-Padaliya
Hello friends, any one can help me with : i want to make interactive grid...so need help for drag & drop with Image...
Eugene Serkin
@jeserkin
@kamorahul aren't observables part of ngrx?
@Raj-Padaliya is it generic question or is it somehow linked to angularjs?
Raj-Padaliya
@Raj-Padaliya
yah it is question
admin can upload images for question and otherside display in option there is same no of box as per image upload
screencapture-marketingresearchresources-mrIWeb-mrIWeb-dll-1495203276395.png
Frederik Prijck
@frederikprijck
@kamorahul wrong room. Ngrx has its own room here at gitter.
wim82
@wim82
hey all, coming here before i log an issue on github. The source code to angular 1.x contains a link to http://errors.angularjs.org/version/....
which is an issue because at least one person in our company sees this is as potential risk
has this issue ever been reported? how can i mitigate this?