Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 186 results for
angularjs2
- Page 1
AngularJS route url param to php script
Programming
Web Development
10 Years Ago
by azapovjednik
Dear All, (first of all I am a beginner!!!) I have a project single-page web application (php, mysql, jquery, angularjs). I have questiong regarding angularjs and php how to pass url parameter to php variable? public_profile.php?user_id=7 I know basics of angularjs routing, and it works fine. The problem is when I click on one table row, I…
Re: AngularJS route url param to php script
Programming
Web Development
9 Months Ago
by Sanket_17
To pass an AngularJS route URL parameter to a PHP script, follow these general steps: In AngularJS, define a route that includes the URL parameter using $routeParams or ui-router. Once the parameter is captured, use Angular’s $http service to send the parameter to your PHP backend. In your PHP script, retrieve the parameter using $_GET or $_POST…
Angularjs modal and breadcrumbs
Programming
Web Development
10 Years Ago
by kubiak
Hi, I am new at angularjs. I use angualarjs ui boostrap modal and i need to show the uibreadcrumb in the modal. I am working on file browsing. I don't see breadcrumb in the modal. Console give me this: **Uncaught Error: [$injector:nomod] Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a …
AngularJS - xml2json
Programming
Web Development
9 Years Ago
by Arun_15
I want to parse json to html, with angularjs, i am converting an xml rss feed to json with npm xml2json I am using angularjs http to get an xml from the server, i am using node module xml2json to convert it to a json object. I get the document returned properly but it doesn't look right because it has html tags in the xml document. If anyone knows …
Re: [angularjs] 2 different controllers for 2 json and views
Programming
Web Development
10 Years Ago
by hericles
Your console.log line isn't getting hit because the code is failing at the http.get line. When AngularJS itself hits an error the location of the error shown in the console often isn't of much use. I used a JSON validator [found here](http://jsonformatter.curiousconcept.com/) and loaded up your JSON. Two errors were found. If you do the same you …
Re: AngularJS Template not running
Programming
Web Development
10 Years Ago
by glennferrie
I think you should start by separating your ng-app and ng-controller onto separate DOM elements. I've always built AngularJs apps where my ng-controller was on an element that was a child (or deeper descendant) of the element that was the ng-app container
What is the difference between compile and link function in angularjs ?
Programming
Web Development
9 Years Ago
by pro-tek
**Difference between compile and link function in angularjs?**
Create a conditional with AngularJS
Programming
Web Development
10 Years Ago
by gcardonav
I have a step in my code where the application will check on the word entered by the user and compare it to the a word. My issue is that my original code was javascript and now I am not certain how to set it up for AngularJS. I had to ideas but neither one work. This is my option in the my `controller.js` file $scope.addGuess = function()…
store form data in sql with angularjs 2
Programming
Web Development
7 Years Ago
by Violet_82
Hi guys, I'm fairly new to angularjs 2 (I've only used 2) and I have a small application with a form. Currently I'm able to get the form data as an objects and print it to the console.log, onSubmit(form: any):void{ console.log(form); } producing this: Object {author: "Author test", title: "…
can we run two functions parallely in angularjs?
Programming
Web Development
10 Years Ago
by Priti_P
Hello, Am new @angularjs. I am using progressbar in angular bootstarp. but for my requirement its little bit tricky. I am using progressbar for DB migrations. OnClick of button my migration process starts and bar should show progress. What I was thinking to do is : onclick call function which will trnsferring data and same function parallelly …
MVC Routing to AngularJS Route
Programming
Web Development
8 Years Ago
by lithium112
I have a SPA which uses an AngularJS front end and C# back end. The issue I'm having is when I navigate to the login page, it is using @Html.Partial("_LoginPartial"). The url then becomes .../Account/Login. When I click on say the "About" tab, this uses an AngularJS route which in turn instead of routing me to the About Page, it…
Re: store form data in sql with angularjs 2
Programming
Web Development
7 Years Ago
by Violet_82
It will be running in a browser. So, here are a few more details. The application is essentially meant to allow users to input books (Title, author and a few more fields) using a form and when the form is submitted all that data go to a database (mySql). Currently I have only the frontend part, done entirely in angularjs 2. I've never really …
Re: Problem: AngularJs and Php
Programming
Web Development
10 Years Ago
by ansaripk
Hello Kindo, Instead of assigning angularjs variable to php variable you can call direct in query string. try this: $s = $db->query("SELECT * FROM reply WHERE post_id_fk = '{{task.vid}}'") or die($db->error.LINE); This should work with angularJS.
Problem: AngularJs and Php
Programming
Web Development
10 Years Ago
by kindo
Hello Pals... Help with this code...I am unable to hold Angularjs tag with Php variables $vid = "{{task.vid}}"; //this where the Errors comes in :( $s = $db->query("SELECT * FROM reply WHERE post_id_fk = '$vid'") or die($db->error.__LINE__); Please how can i go about this? Thank you!
showing data from json with angularjs
Programming
Web Development
10 Years Ago
by surferbloggy
Hi i'm showing data from json with angularjs if i write this <div class="boxhotel" > <p>rateChange: {{roomz.RateInfo}}</p> </div> i retrieve this {"@rateChange": "false", "@promo": "false",…
Reset a page in AngularJS
Digital Media
UI / UX Design
10 Years Ago
by gcardonav
I want to create an option that will reset my page once the user clicks on an alert the controller will reset to original form. I have the alert all set up but I am not sure how to do this. In JavaScript I created a function that did this `startANewGame();` which was this function startANewGame() { $('#startNew').click(function() { location.…
datepicker in angularjs
Programming
Web Development
10 Years Ago
by Priti_P
Hello, Am new n angularjs. Am using angular bootstrap datepicker First issue 1] I want to use calendar for choosing only month and year but am not able to I did the all ways but all are unsuccessful 2] I want to remove Today|Weeks|Clear buttons from datepicker as per gievn in http://eternicode.github.io/bootstrap-datepicker/?markup=input&…
setinterval function in foraeach loop in angularjs
Programming
Web Development
10 Years Ago
by Priti_P
Hello, I want to stop foreach loop for 5 seconds while processing, in angularjs But my below code is not working Where am wrong here? angular.forEach(data, function(value, key) { total_count=data[key].length; // length of each array array_key = key; key_length=key.length; // length of each key $scope.…
Laravel+AngularJS project
Programming
Web Development
8 Years Ago
by solomon_13000
I am attempting to create a simple project for the subject matter for learning and discovery purpose however it doesn't seem to work. My rest API works well but the integration of AngularJS with Laravel doesn't work. You can pull my mini project from [Click Here](https://github.com/solomon13000/angulara). Your help is kindly appreciated.
Re: Angularjs modal and breadcrumbs
Programming
Web Development
10 Years Ago
by kubiak
Do you want example on jsfiddle or plunker?
Re: Angularjs modal and breadcrumbs
Programming
Web Development
10 Years Ago
by Taywin
I am not sure if you could actually define `ng-app` at the top most level (html tag). It may be used in `div` tag, but have you tried it in `body` tag instead?
combine AngularJS,HTML5,and CSS3 as front end,NodeJs as back end,and PHP5
Digital Media
UI / UX Design
10 Years Ago
by kalcio
Hi, I'am newer in PHP development.I have a question please,Is there any way to create a web application with AngularJS, HTML5, and CSS3 as front end, and NodeJS as back end ,and PHP5 as a the restful web service? thanks for Help
Re: Passing params from AngularJS to C# Controller
Programming
Web Development
9 Years Ago
by lithium112
I finally recieved an answer for this. Basically what needed to be done was to create a couple properties: public class Data { public string Name { get; set; } public string Password { get; set; } } And then: [HttpPost] public object PostLogin(Data data) { return …
[angularjs] 2 different controllers for 2 json and views
Programming
Web Development
10 Years Ago
by surferbloggy
Hi, I have to load a list of holtels from json and then click one hotel to load the hotel details page, i'm trying to solve with route i've added 2 different controllers for 2 different views each controller load a different json and this is the problem becouse it loads the first and it works, but when i load the second in the second view it doesn…
Re: [angularjs] 2 different controllers for 2 json and views
Programming
Web Development
10 Years Ago
by hericles
The console log doesn't give you any hints? Have you put a console.log in your second controller to make sure it is getting called correctly (although I can't see why it wouldn't be)? And is your hotelinfo.json file named correctly and error free?
Re: [angularjs] 2 different controllers for 2 json and views
Programming
Web Development
10 Years Ago
by surferbloggy
Hi, i've changed the json data and it works so the problem is that incorrect json but it is the one i have to work with when i go to the first route/controller/json it works, it loads all the data and there is no error in the inspector, if i click to load the second route there is no data loaded and the inspector gives me this error i don't …
AngularJs | Binding HTML
Programming
Web Development
10 Years Ago
by efe.ozyer
$scope.works = [ { wproperties:'<span>text #1</span><span>text #2</span><span>text #2</span><span>text #3</span>' } ] <span ng-bind-html="work.wproperties"></span> span is printing as null, who can help me? controllers and ng-…
Re: AngularJs | Binding HTML
Programming
Web Development
10 Years Ago
by hericles
You have $scope.works and work.properties. I imagine 'work' would need to be plural.
AngularJS Template not running
Programming
Web Development
10 Years Ago
by gcardonav
I run the [code](http://embed.plnkr.co/C76bGd5ao07oSP4vvPj0/preview) but the template ir not doing anything at all. Is there a problem with my syntax?
Re: AngularJS Template not running
Programming
Web Development
10 Years Ago
by Mouche
When I put in a wrong answer, it tells me I'm wrong. When I put in the right answer, it says I got it. What isn't working right exactly?
1
2
3
4
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC