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
6 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 - 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 …
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 …
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
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: "…
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!
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.…
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] 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 …
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()…
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 …
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",…
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&…
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
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.…
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?**
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?
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?
Angularjs + Bootstrap Modal
Programming
Web Development
8 Years Ago
by solomon_13000
The code below opens a modal window successfully. When I attempt to open the modal window after closing it, my browser window freezes. To unfreeze I press the escape button on my keyboard. Employee.php <div class="modal-footer"> <button type="button" class="btn btn-secondary" ng-click="…
Re: Angularjs + Bootstrap Modal
Programming
Web Development
8 Years Ago
by solomon_13000
I found the solution: comment this line of code: scope: scope in EmployeeMainController.js
AngularJS render updated record + Laravel backend
Programming
Web Development
8 Years Ago
by solomon_13000
Employee.php <div class="col-xs-12"> <h2>Listing Employee</h2> <hr> <div class="employeeGrid"> <table> <tr> <th><a href="" ng-click="orderByField='name'; reverseSort = !reverseSort">Name</a&…
Re: AngularJS render updated record + Laravel backend
Programming
Web Development
8 Years Ago
by rproffitt
It's going to be sheer luck anyone is running that setup so try this. Break the problem down to smaller steps. If a step can't be accomplished then it's too big a step. Break it down further.
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
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC