I have front end angular app and i have to remove otp option for first time user in angular. In backend i am using sails and postgresql. Any thoughts on that? Source: Angular..
I have an angular application and APIs are created in sails. Now I have multiple DBS. I want to connect DB on the basis of subdomain name but at the same time, I also want to connect with master DB. What I tried in sails:- I have created a file in policies and called the ..
I’m using angularJS with sails 0.12.14. I’m reading some data from a mockup function and I’m trying to add them to the dependencie/angular/controller/myArquive.js of angular. Based on this example: https://www.amcharts.com/demos/line-chart-with-scroll-and-zoom/?theme=dark but when you run the file where the functions are, this error is displayed. Uncaught (in promise) TypeError: Cannot set property ‘overflow’ of undefined at ..
thank you for helping me. I want to save the value of an input tag and show in another view page. I perform a GET request in an Angular controller and saved to DB successfully. But I’m stuck about these basic questions. The code is specified below. Why the “viewTemplatePath” in Sails Controller not work? ..
This question already has an answer here: AngularJS – Enable HTML5 Mode Page Refresh Without 404 Errors 2 answers I build standalone web using node js (Sails) for backend and angularJs for frontend on linux environment and nginx for production mode. I want to remove hash (#!) in my url. I follow this tutorial AngularJS: ..
I am hosting a node.js server using pm2 with 8 instances. The backend stack is using Sails.js, Redis and Postgres. The frontend is using Angular 1. The issue is that when a user requests to load their profile, it returns mixed data. E.g, Their name, a different users picture, etc. What could be the possible ..
how to AngularJS SPA needs to reload to recognize the jwt token in localstorage everything good ? Today I need your help to solve a token authentication problem (jwt) in my SPA AngularJS application (I use NodeJS in the backend). When I log in, the credentials are validated in the backend and if I succeed ..
I build a website using Sails js and Angularjs and I want to create facebook share button but I found a problem, it seems they cannot read my meta:og in my layout.ejs file. I am using https://developers.facebook.com/tools/debug/ but the result is : Inferred Property The ‘og:image’ property should be explicitly provided, even if a value ..