angular js and jquery integration


I have the following part of a code, its work, but when i click a td, i have an angular expression {{car1}} that don't change, what i can do?
 //document ready
          angular.element(document).ready(function () {


                 $scope.car1 = $scope.car1 + parseFloat($(this).attr('pr1'));

          //fin del document ready

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Apologies - just re-read the question - do you have a page online we can look at?
joyacv2Author Commented:
sorry, no
joyacv2Author Commented:
i can change using an id and jquery.html() function, but i want to use angular because is more simple and have a currency filter for expressions
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Julian HansenCommented:
Ok but with only that snippet of code - sort of like bringing the spare tyre of car into the shop and asking why it won't start.
joyacv2Author Commented:

how i update an <span>{{tdclicked}}</span> or any other tag, when i click a 'td' using angular js expressions?
 i want that when i click a td, then the span tag takes its value + the previous value
Julian HansenCommented:
This seems to work
<!doctype html>
<html ng-app="tdtest">
<style type="text/css"></style>
<body ng-app="">
<div ng-controller="tdTestController as tdc">
			<td>Name</td><td ng-click="tdc.clickTD($event)">John Smith</td>
			<td>Name</td><td ng-click="tdc.clickTD($event)">Jane Doe</td>
<script src=""></script>
<!-- <img src=""></script>-->
<script src=""></script>
<script type="text/javascript">
angular.module('tdtest', [])
	.controller('tdTestController', function() {
		var tdc = this;
		tdc.tdclicked = '';
		tdc.clickTD = function (e){	
			tdc.tdclicked = $(;

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.