43 Topics
![]() | |
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 have an Angular application that I am trying to debug in VS Code. When I write code in a particular typescript file and put a breakpoint on a method or statement, it is bound. But when I try to debug through **Run > Start Debugging**, the breakpoint becomes unbound. … | |
Has anyone done a facebook share for web and android versions for angular 12 with capacitor 3? Has to send image and text. I am not sure even if this is possible? import { Share } from '@capacitor/share'; await Share.share({ title: 'See cool stuff', text: 'Really awesome thing you need … | |
 Hello i want to retrieve multiples values from single column on db. And i did. They are shown on Console (Painting, Illustration, Graphic Design) but when i put the values on ion-toggles with ngModel only one is set to true. As you may see on the screenshot the values … | |
Hello I want to send multiple values from a to an api function. on the db i store the values in text format. The value that is stored is array on the Swal alert, I am getting [object object] but i want to get each value e.g. Painting or Graphic … | |
Hello i have an Angular 12 project and i want to retrieve all results in artisticBehaviour (except those who are NULL or same e.g. Actor, Actor) column in Users table. ts function that i call all users from Users table. allArtistsSet() { this.userData.allArtists(this.offset).pipe( map((data: any) => { if (data.success) { … | |
Hello i have a Ionic Angular project with PHP as backend. I created a search for users but in order for the project to run more faster i put a LIMIT of 20 users in the php function that calls the users and call the next 20 with an Angular … | |
Hello i want to add external .js files into my Ionic Angular Project Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 5.2.3 @angular-devkit/build-angular : 0.901.11 @angular-devkit/schematics: 9.1.11 @angular/cli : 9.1.11 @ionic/angular-toolkit: 2.3.0 Utility: cordova-res (update available: 0.15.2) : 0.15.1 native-run (update available: 1.3.0) : 0.3.0 I created a js … | |
Hi,my friend and I are making our student project.And so far we create our 'back end' but in front (angular) somehow we are not able to get new socket.id when user change room.I will share your code with me hope someone will be able to help. This is our ANGULAR … | |
Hello i want to display the values of this api response. Like this Producer: Simon Writer: Simon person1: [[{value: "Producer: Simon"}, {value: "Writer: Simon"}]] 0: [{value: "Producer: Simon"}, {value: "Writer: Simon"}] 0: {value: "Producer: Simon"} 1: {value: "Writer: Simon"} I tried this but i am getting `{}` <div *ngFor="let media1 … | |
Helloi want to put a play/pause button on a html5 video tag. Any suggestions? | |
Hello i want to upload an audio file(.mp3). The file is uploaded on the folder, the value is inserted on the db (MySql) so far so good. But when i try to play the file on the uploads folder is says its corrupted or extension is wrong.the value is not … | |
I have a search script that a user may search persons etc. I want to display a message if what he or types doesn't exist in the array. By default, I display some results and it displays the desired person when one writes on searchbar. but I want to show … | |
Hi, Was wondering if anyone had any information on how to create a word document on the client side in Angular? I was using jspdf to create PDF's which was really good but the documents need to be editable so having to look at how to create word documents. I … | |
Hello i want to make a video player with HTML5. I t has to have other angular tags and an object inside the <video> tag. The source code below explkains what i want to do. Is it possible? Any suggestions? <video controls preload="metadata" style="width:100%; height:100%;z-index: 100"> <source src="//vjs.zencdn.net/v/oceans.webm" type="video/webm" /> … | |
Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] … | |
bar_chart.html <html> <head> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> </head> <body> <script> FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'doughnut2d', renderAt: 'chart-container', width: '450', height: '450', dataFormat: 'json', dataSource: { "chart": { "caption": "", "subCaption": "", "numberPrefix": "$", "paletteColors": "#5b9bd5,#ed7d31,#f2c500,#f45b00,#8e0000", "bgColor": "#ffffff", "showBorder": "0", "use3DLighting": "0", … | |
Hello, I am following this tutorial: https://valor-software.com/ng2-charts/ I try to set up the barchart. I copy exactly from the demo script: new.html <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> <script src="node_modules/chart.js/src/chart.js"></script> <script src="bar.js"></script> </head> <body> <div> <div style="display: block"> <canvas baseChart [datasets]="barChartData" [labels]="barChartLabels" [options]="barChartOptions" [legend]="barChartLegend" [chartType]="barChartType" (chartHover)="chartHovered($event)" (chartClick)="chartClicked($event)"></canvas> </div> <button (click)="randomize()">Update</button> </div> </body> … | |
![]() | I have two menu as Course and Manage Courses. When I click on respective menu it shows selected. But when I click on single course in edit mode, that time I want to show Course menu as selected. Kindly help me to get this problem resolve. |
I am planning to build an app in nextcloud but what is the front-end framework i should choose?. I have found the nextcloud repo having angular 1, but the i find it being an old framework, Is there option to use Angular 2 or higher. otherwise which is the best … | |
I am trying to get the add button to enable if I select a valid file otherwise disable it. Also i'm trying to show messages if an invalid file is selected. The code below doesn't not seem to generate the desired result: <form name="myForm"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">Add … | |
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: "Title … | |
I have configured node V6.10.3 and npm 3.10.10. I have attached the screen shot kindly please check. My platform is ubuntu 14. I have run the command : npm start after that only blan page opening htt://localhost:4200 Kindly help me to get this problem resolve. | |
I am implementing **Attribute Based Access Control** in angular typescript application with rails server. I've searched for different solutions like followings but could not manage to implement cause of unclear solutions. 1. [Custom Roles Based Access Control RBAC in ASP NET](https://www.codeproject.com/Articles/875547/Custom-Roles-Based-Access-Control-RBAC-in-ASP-NET) 2. [simple attribute based access control with spring](https://dzone.com/articles/simple-attribute-based-access-control-with-spring) The … | |
I am trying to add custom button in CKEditor. I am using this CKEditor [ng2-ckeditor](https://github.com/chymz/ng2-ckeditor). It is working fine. but I want to add a button. on cliking this button will add a rails template tag Example: I can add the button like example below, but I dont know how … | |
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></th> <th><a href="" ng-click="orderByField='age'; reverseSort = !reverseSort">Age</a></th> <th><a href="" ng-click="orderByField='gender'; reverseSort = !reverseSort">Gender</a></th> <th><a href="" ng-click="orderByField='company'; reverseSort = !reverseSort">Company</a></th> <th>Action</th> </tr> <tr ng-repeat="person in employee | orderBy:orderByField:reverseSort""> <td>{{person.name}}</td> <td>{{person.age}}</td> <td>{{person.gender}}</td> <td>{{person.company}}</td> <td> <button class="btn" ng-click="viewEmployee(person.id)"><span … | |
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="closeEmployee()" data-dismiss="modal">Close</button> </div> EmployeeModalController.js <div class="modal-footer"> <button type="button" class="btn btn-secondary" … | |
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 … | |
hi I'm trying to run karma test runner on angular-seed project I downloaded from git with no success always I get errors, here is the repo im using this version https://github.com/angular/angular-s...16dfcf0522ecbc I installed jasmine and karma and node.js and karma-chrome-launcher I installed all this using the npm package manager that … | |
![]() | 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 … |
Hi guys, I will soon have a licence to run webstorm on one machine (at work) but I need to think of some other free IDE which supports typescript ideally natively on a different laptop running windows and linux (at home). I had a look around of course, but as … ![]() | |
Hello All, i have run into an issue with my little project that i cannot seem to find much on and im at a lose for resources to check through. I am trying to get and use data that is being pulled from a json echo to my other php … | |
I'm planning to create a web project, I'm wondering Angular 2 is stable or not. Or Should I work with Angular 1 now ? I scare that Angular 2 is not released now, it means that maybe it has a lot of issues. I really don't want to go so … | |
Hi Guys, I've been playing around with Angular and Ionic tutorials and I'm attempting to put together things I've learnt from different tutorials to build a simple NPR audio player. I have a really really anoying issue with ng-show/ng-hide... Basically, in the bottom left hand corner of my application I … | |
I know current page can be reload from the directive too. But, I am newbie, don't know how it can be done. Below is my directive, from where I want to reload page e.g. http://myproject/die/ap/assess.php#/reading/827/3/2378/2 .directive('popupdirective', function($log, $compile, $controller, $http, $templateCache, $rootScope){ return { restrict: 'A', scope:{popView:"@",getdata:"="}, link:function(scope,element,attr,pCtlr){ angular.element(".pop-window-close span.fa.fa-times").click(function(){ … | |
How to update address bar with new URL without reloading the page? ![]() | |
Hi, I am trying to load a page which has a ng-table in a page with jquery my function to load the subpage in the main page is like this: function loadSubPage(id){ var random = Math.random()*1000000; $("#aanvullingGegevens").load("gui/aanvragen/gekende_patient.php?patientID="+id+"&random="+random); } and this is my sub-page <script type="text/javascript" src="scripts/angular/angular.js" ></script> <script type="text/javascript" src="scripts/angular/ng-table.js" … | |
Currently I'm using xampp, and creating chat-app with AngularJS and integrated with Laravel framework. My AngularJS front-ends is actually placed in Laravel's views folder. And the back-ends stuff (Angular's controller, services) placed in public/app folder. I try to integrate chat-app template (front-end) into my video template. So it's actually a … | |
I cleaned up my code but now when I run it I am getting an error. I am not sure where it is coming from since it was working before I added the nested view and did not change the controller. Here is my [plunkr](http://plnkr.co/edit/vN06ZQYWW0cpO4izBtgT?p=info). Let me know if there … | |
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? ![]() | |
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 … | |
$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-app working so ng-bind-html not working.. | |
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! |
The End.