Latest Asked Questions

Explore the latest questions and answers asked top developers.

How to share a cookie between subdomain in angularjs

how to How to share a cookie between subdomain in angularjs i have two apps in angularjs, deployed in an apache httpd like: archivo.localhost/ and oficio.localhost/ I’m creating my cookies with $cookies like: var cookieConfig = { expires: cookieExpireDate.toUTCString(), path: “/”, domain: “localhost” }; $cookies.put(‘oficio-token’, response.ticket, cookieConfig); and reading them with: $cookies.get(‘oficio-token’); but trying to […]

By Alfredo M
Published
Categorized as subdomain Tagged ,

In Angular 2, is it possible to fadeIn / fadeout instead of [hidden=’xxx]?

In Angular 2, is it possible to fadeIn / fadeout instead of [hidden=’xxx]? I have snippet of <div [hidden]=”visible”> and want it to fade out on visible change… tx Sean

By lzo
Published

AngularJS directive to add content after element and trigger element click

how to AngularJS directive to add content after element and trigger element click I’m trying to create a very simple directive to ask confirmation on a button click. The following html: <button kr-confirm>Delete</button> Should compile into: <button kr-confirm>Delete</button> <span ng-show=”vm.isOpen”> Are you sure? <span class=”btn btn-sm btn-danger”>Yes</span> <span class=”btn btn-sm btn-secondary”>No</span> </span> I wanted to […]

By Kim Raaness
Published
Categorized as Uncategorized Tagged ,

asp.net web api how to create zip file from multiple server files and download the zip file in your machine

how to asp.net web api how to create zip file from multiple server files and download the zip file in your machine I am trying to get multiple files from network and zip into one file and then open a window to allow user to save the zipped file in his/her machine. My current working […]

By MSIslam
Published
Categorized as httpresponse, zipfile Tagged , ,

Append to an element by id not working through directive

how to Append to an element by id not working through directive I have following HTML: <div class=”row list-bottom-margin” id=”test”> <div class=”col-lg-4 col-md-4 col-sm-4″> <div class=”right-inner-addon”> <form ng-submit=”submit()”> <input type=”search” class=”form-control” placeholder=”Search…” ng-model=”searchText”> </form> </div> </div> <!– I want to add an element here –> </div> </div> <div ng-show=”ag_grid_item_total > 0″> <div id=”ag_grid_table” ag-grid=”::ag_grid_options” class=”ag-bootstrap-striped” […]

By kaounKaoun
Published
Categorized as javascript Tagged ,
1 14,777 14,778 14,779 14,780 14,781 16,036

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq