« first day (959 days earlier)      last day (3158 days later) » 

1 message moved from [Tech Gossips ](chat.stackoverflow.com/rooms/59481/tech-gossips)
 
3 hours later…
10:20
Hi guys. For some reason when I attempt to perform a redirect to an internal page it prepends /#/ to the URL in AngularJS

\$scope.redirectUser = function(url){
\$location.path('url');
}

What am i doing wrong?
1 message moved from JavaScript
Hi guys. For some reason when I attempt to perform a redirect to an internal page it prepends /#/ to the URL in AngularJS

\$scope.redirectUser = function(url){
\$location.path('url');
}

What am i doing wrong?
1 message moved from JavaScript
 
1 hour later…
11:35
string givenstring, outputString1 = "", outputString2 = "";
int length, i = 0, j = 0;
Console.Write("Enter the string:");
givenstring = Console.ReadLine();
length = (givenstring.Length) / 2;
j = length;
while (j < givenstring.Length)
{
outputString1 = outputString1 + givenstring[j];
outputString2 = outputString2 + givenstring[i];
i++;
j++;
if (j == givenstring.Length)
{
Console.Write(outputString1 + " ");
}
if (i == length)
{
Console.Write(outputString2);
}
}
1 message moved from C#
Now i splited and reversed the string by using following code :
string givenstring, outputString1 = "", outputString2 = "";
int length, i = 0, j = 0;
Console.Write("Enter the string:");
givenstring = Console.ReadLine();
length = (givenstring.Length) / 2;
j = length;
while (j < givenstring.Length)
{
outputString1 = outputString1 + givenstring[j];
outputString2 = outputString2 + givenstring[i];
i++;
j++;
if (j == givenstring.Length)
{
Console.Write(outputString1 + " ");
}
if (i == length)
{
Console.Write(outputString2);
1 message moved from C#
 
4 hours later…
15:27
$.ajax({
type: 'get',
url: url,
crossdomain: true,
contenttype: "application/json; charset=utf-8",
data: { id: '143d8747-cd5b-40c6-a243-54da8cf7256c' },
datatype: "jsonp",
success: function (msg) {
var a = JSON.stringify(msg);
console.log(msg);
console.log(msg['EventInfo']['id']);
},
error: function (xhr, status, error) {
alert('servidor de error 404 !!');
},

cache: false
});
1 message moved from JavaScript
$.ajax({
type: 'get',
url: url,
crossdomain: true,
contenttype: "application/json; charset=utf-8",
data: { id: '143d8747-cd5b-40c6-a243-54da8cf7256c' },
datatype: "jsonp",
success: function (msg) {
var a = JSON.stringify(msg);
console.log(msg);
console.log(msg['EventInfo']['id']);
},
error: function (xhr, status, error) {
alert('servidor de error 404 !!');
},

cache: false
});
1 message moved from JavaScript
 
3 hours later…
18:43
bt guiz wt abut rpg maekr
1 message moved from Android
 
1 hour later…
20:13

« first day (959 days earlier)      last day (3158 days later) »