Is there any function or way of getting javascript / angularjs to communicate with linux?
For example:
<!doctype html>
<html ng-app="myApp">
<head>
<link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
</head>
<body>
<h2>{{kapp}}</h2>
<div class="busca" id="div1">
<input class="form-control"type="text" placeholder="Digite o nome completo" ng-model="search"/>
<button type="button" class="btn btn-lg btn-info" id="bot" ng-click="buscar(search)" onclick="fecha();">
Search
<i class="glyphicon glyphicon-search"></i>
</button>
</div>
</body>
<script>
angular.module('myApp', []);
angular.module('myApp', []).controller("customersCtrl",function ($scope, $http)
{
$scope.kapp = "Buscado";
$scope.buscar = function (name)
{
$scope.search = name;
}
</script>
</html>
Well, would you have any way of when 'name' gets a name and this name is passed to a variable from a Shellscript, python or C file?